updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gdal-grass / gdal-grass-destdir.patch
blob0b4ac05a6f0803d02795cc1974f0183ce9e00763
1 --- Makefile~ 2008-05-28 16:39:20.000000000 +0200
2 +++ Makefile 2008-05-28 16:38:27.000000000 +0200
3 @@ -23,16 +23,12 @@
4 default: $(GLIBNAME) $(OLIBNAME)
6 install: default
7 - install -d $(AUTOLOAD_DIR)
8 - cp $(GLIBNAME) $(AUTOLOAD_DIR)
9 - cp $(OLIBNAME) $(AUTOLOAD_DIR)
10 - test -d ${GRASSTABLES_DIR} || mkdir ${GRASSTABLES_DIR}
11 - test -d ${GRASSTABLES_DIR}/etc || mkdir ${GRASSTABLES_DIR}/etc
12 - cp /opt/grass/etc/ellipse.table ${GRASSTABLES_DIR}/etc
13 - cp /opt/grass/etc/datum.table /opt/grass/etc/datumtransform.table ${GRASSTABLES_DIR}/etc
14 - test -d ${GRASSTABLES_DIR}/driver || mkdir ${GRASSTABLES_DIR}/driver
15 - test -d ${GRASSTABLES_DIR}/driver/db || mkdir ${GRASSTABLES_DIR}/driver/db
16 - cp -r /opt/grass/driver/db/* ${GRASSTABLES_DIR}/driver/db/
17 + install -d $(DESTDIR)/$(AUTOLOAD_DIR)
18 + cp $(GLIBNAME) $(DESTDIR)/$(AUTOLOAD_DIR)
19 + cp $(OLIBNAME) $(DESTDIR)/$(AUTOLOAD_DIR)
20 + cp /opt/grass/etc/ellipse.table $(DESTDIR)/${GRASSTABLES_DIR}/etc
21 + cp /opt/grass/etc/datum.table $(DESTDIR)/${GRASSTABLES_DIR}/etc
22 + cp /opt/grass/driver/db/* $(DESTDIR)/${GRASSTABLES_DIR}/driver/db/
24 clean:
25 rm -f $(OLIBNAME) $(GLIBNAME) *.o