[GRASS-SVN] r33476 - in grass/trunk/lib: external/shapelib vector/rtree

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 17 03:16:00 EDT 2008


Author: glynn
Date: 2008-09-17 03:16:00 -0400 (Wed, 17 Sep 2008)
New Revision: 33476

Modified:
   grass/trunk/lib/external/shapelib/Makefile
   grass/trunk/lib/vector/rtree/Makefile
Log:
Move installation of headers into "headers" target


Modified: grass/trunk/lib/external/shapelib/Makefile
===================================================================
--- grass/trunk/lib/external/shapelib/Makefile	2008-09-17 06:58:42 UTC (rev 33475)
+++ grass/trunk/lib/external/shapelib/Makefile	2008-09-17 07:16:00 UTC (rev 33476)
@@ -4,8 +4,10 @@
 
 include $(MODULE_TOPDIR)/include/Make/Lib.make
 
-default: $(ARCH_INCDIR)/shapefil.h
+default: headers
 	$(MAKE) lib
 
-$(ARCH_INCDIR)/shapefil.h: shapefil.h
-	$(INSTALL_DATA) shapefil.h $(ARCH_INCDIR)/shapefil.h
+headers: $(ARCH_INCDIR)/shapefil.h
+
+$(ARCH_INCDIR)/%.h: %.h
+	$(INSTALL_DATA) $< $@

Modified: grass/trunk/lib/vector/rtree/Makefile
===================================================================
--- grass/trunk/lib/vector/rtree/Makefile	2008-09-17 06:58:42 UTC (rev 33475)
+++ grass/trunk/lib/vector/rtree/Makefile	2008-09-17 07:16:00 UTC (rev 33476)
@@ -10,9 +10,11 @@
 HEADERS := $(RTLINC)/card.h $(RTLINC)/index.h $(RTLINC)/split_q.h \
 	$(ARCH_INCDIR)/rtree.h
 
-default: $(HEADERS)
+default: headers
 	$(MAKE) lib
 
+headers: $(HEADERS)
+
 $(RTLINC):
 	$(MKDIR) $@
 



More information about the grass-commit mailing list