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 bd20e49..de0b75e 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 b470253..9d2548d 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