[GRASS-SVN] r53669 - grass-addons/grass7/raster/r.modis/libmodis
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 2 13:10:29 PDT 2012
Author: martinl
Date: 2012-11-02 13:10:28 -0700 (Fri, 02 Nov 2012)
New Revision: 53669
Modified:
grass-addons/grass7/raster/r.modis/libmodis/Makefile
Log:
another attempt to r.modis Makefile
Modified: grass-addons/grass7/raster/r.modis/libmodis/Makefile
===================================================================
--- grass-addons/grass7/raster/r.modis/libmodis/Makefile 2012-11-02 20:05:30 UTC (rev 53668)
+++ grass-addons/grass7/raster/r.modis/libmodis/Makefile 2012-11-02 20:10:28 UTC (rev 53669)
@@ -5,18 +5,16 @@
MODULES = downmodis rmodislib convertmodis parsemodis
-DSTDIR = $(ETC)
+PYFILES := $(patsubst %,$(ETC)/%.py,$(MODULES))
+PYCFILES := $(patsubst %,$(ETC)/%.pyc,$(MODULES))
-PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES))
-PYCFILES := $(patsubst %,$(DSTDIR)/%.pyc,$(MODULES))
-
default: $(PYFILES) $(PYCFILES)
$(DSTDIR):
$(MKDIR) $@
-$(DSTDIR)/%: % | $(DSTDIR)
+$(ETC)/%: % | $(ETC)
$(INSTALL_DATA) $< $@
install:
- cp -r $(DSTDIR) $(INST_DIR)/etc/
+ cp -r $(ETC) $(INST_DIR)
More information about the grass-commit
mailing list