Support for old tar command, fix in the settings of DATE (Constantin)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Aug 2010 07:52:56 +0000 (07:52 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Aug 2010 07:52:56 +0000 (07:52 +0000)
Makefile
build/module.tpl

index bd20e4919c1d2928f4373cc90d3da3d83e49b0a9..de0b75ec3253f38d4446e76b1f7e9cf79f457849 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ endif
 # Check if DATE is installed
 
 ifeq ($(shell which date-config 2>/dev/null),)
-DATEFLAGS := -D`uname` -DDATE_SYS=`uname` -Dlong32='int' \
+DATEFLAGS := -D$(shell uname) -DDATE_SYS=$(shell uname) -Dlong32='int' \
              -Dlong64='long long' -DdatePointer='long'
 DMONLIBS  :=
 else 
index b470253402d7ed86ab115ce1e1f66177b56f5c2f..9d2548def7db38a57b0a5af7fa1438c972847dc3 100644 (file)
@@ -364,7 +364,7 @@ $(@PACKAGE@SML) : $(MODDIRZ)/%.smell : $(MODDIRZ)/%_cxx.ml $(MODDIRZ)/%_h.ml
 # targets to create .par archives (jgrosseo)
 @PACKAGE@.par: $(patsubst %,@MODULE@/@PACKAGE@/%,$(filter-out dict.%, $(HDRS) $(SRCS) $(DHDR) $(PKGFILE) $(FSRCS) Makefile Makefile.arch lib@PACKAGE@.pkg PROOF-INF))
        @echo "Creating archive" $@ ...
-       @cd @MODULE@; (tar --exclude-vcs -czhf ../$@ @PACKAGE@ 2> /dev/null && echo "package" $@ "created in" $(PWD)/$@) || (tar --exclude-vcs -czhf /tmp/$@ @PACKAGE@ 2> /dev/null && echo "package" $@ "created in /tmp/"$@)
+       @cd @MODULE@; (tar --exclude=.svn -czhf ../$@ @PACKAGE@ 2> /dev/null && echo "package" $@ "created in" $(PWD)/$@) || (tar --exclude=.svn -czhf /tmp/$@ @PACKAGE@ 2> /dev/null && echo "package" $@ "created in /tmp/"$@)
        @rm -rf @MODULE@/@PACKAGE@
 
 @MODULE@/@PACKAGE@/Makefile: @MODULE@/Makefile