Skip to content

Commit 2f6f3e2

Browse files
committed
Modified Makefile to build and install without errors
1 parent e0d73b3 commit 2f6f3e2

File tree

3 files changed

+57
-278
lines changed

3 files changed

+57
-278
lines changed

server/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,21 @@ SHLIB_LINK = ${GMLIBS}
99
PG_CONFIG = pg_config
1010

1111
EXTENSION = postpic
12-
EXTVERSION = $(shell grep default_version $(EXTENSION).control | \\
12+
EXTVERSION = $(shell grep default_version $(EXTENSION).control | \
1313
sed -e "s/default_version[[:space:]]*=[[:space:]]*'\\([^']*\\)'/\\1/")
1414

1515
MODULES = $(patsubst %.c,%,$(wildcard src/*.c))
1616

1717
DATA = $(filter-out $(wildcard sql/*--*.sql),$(wildcard sql/*.sql))
1818
TESTS = $(wildcard test/sql/*.sql)
19-
DOCS = $(wildcard doc/*.md)
19+
DOCS = $(wildcard ../*.md)
2020

2121
PG91 = $(shell $(PG_CONFIG) --version | grep -qE " 8\\.| 9\\.0" && echo no || echo yes)
2222

2323
ifeq ($(PG91),yes)
24-
all: sql/$(EXTENSION)--$(EXTVERSION).sql
25-
24+
all: sql/$(EXTENSION)--$(EXTVERSION).sql
2625
sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
27-
cp $< $@
26+
cp $< $@
2827

2928
DATA = $(wildcard sql/*--*.sql) sql/$(EXTENSION)--$(EXTVERSION).sql
3029
EXTRA_CLEAN = sql/$(EXTENSION)--$(EXTVERSION).sql

server/doc/postpic.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
PostPic: A PostgreSQL extension for image-processing
2+
====================================================
3+
4+
PostPic is an extension for the open source PostgreSQL dbms that enables
5+
image processing inside the database, like PostGIS does for spatial data.
6+
It adds the new 'image' type to the SQL, and several functions to process
7+
images and to extract their attributes.
8+
9+
Eg.
10+
11+
select * from images
12+
where date(the_img) > '2009-01-01'::date
13+
and size(the_img) > 1600;
14+
15+
Traditional relational clauses can be combined in queries with image-related
16+
ones, and basic image processing can be performed in SQL.
17+
18+
19+
Resources
20+
---------
21+
22+
PostPic is hosted at [GitHub](https://github.com/drotiro/postpic),
23+
there you can find all the code releases and the project
24+
[Wiki](http://wiki.github.com/drotiro/postpic/>)
25+
with detailed documentation about the project.
26+
27+
28+
Contents of this package
29+
------------------------
30+
31+
This package contains the following:
32+
33+
* __server__: sources for the server extension
34+
* __utils__: utilities for client-side loading of images, etc.
35+
* __examples__: a sql script to create sample tables and functions
36+
37+
38+
Copyright and license
39+
---------------------
40+
41+
PostPic is Copyright (C) 2010 Domenico Rotiroti.
42+
43+
This program is free software: you can redistribute it and/or modify
44+
it under the terms of the GNU Lesser General Public License as
45+
published by the Free Software Foundation, version 3 of the License.
46+
47+
This program is distributed in the hope that it will be useful,
48+
but WITHOUT ANY WARRANTY; without even the implied warranty of
49+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50+
GNU Lesser General Public License for more details.
51+
52+
A copy of the GNU Lesser General Public License is included in the
53+
source distribution of this software.

server/sql/postpic--0.9.1.sql

Lines changed: 0 additions & 273 deletions
This file was deleted.

0 commit comments

Comments
 (0)