|
@@ -107,7 +107,11 @@ export PREFIX LOCALBASE
|
|
#export INSTALL INSTALL-CFG INSTALL-BIN INSTALL-MODULES INSTALL-DOC INSTALL-MAN
|
|
#export INSTALL INSTALL-CFG INSTALL-BIN INSTALL-MODULES INSTALL-DOC INSTALL-MAN
|
|
#export INSTALL-TOUCH
|
|
#export INSTALL-TOUCH
|
|
|
|
|
|
-
|
|
|
|
|
|
+ifneq ($(TLS),)
|
|
|
|
+ tar_extra_args+=
|
|
|
|
+else
|
|
|
|
+ tar_extra_args+=--exclude=$(notdir $(CURDIR))/tls*
|
|
|
|
+endif
|
|
# include the common rules
|
|
# include the common rules
|
|
include Makefile.rules
|
|
include Makefile.rules
|
|
|
|
|
|
@@ -162,9 +166,9 @@ tar:
|
|
--exclude=$(notdir $(CURDIR))/test* \
|
|
--exclude=$(notdir $(CURDIR))/test* \
|
|
--exclude=$(notdir $(CURDIR))/tmp* \
|
|
--exclude=$(notdir $(CURDIR))/tmp* \
|
|
--exclude=$(notdir $(CURDIR))/debian/ser* \
|
|
--exclude=$(notdir $(CURDIR))/debian/ser* \
|
|
- --exclude=$(notdir $(CURDIR))/tls* \
|
|
|
|
--exclude=$(notdir $(CURDIR))/ser_tls* \
|
|
--exclude=$(notdir $(CURDIR))/ser_tls* \
|
|
--exclude=CVS* \
|
|
--exclude=CVS* \
|
|
|
|
+ --exclude=.cvsignore \
|
|
--exclude=*.[do] \
|
|
--exclude=*.[do] \
|
|
--exclude=*.so \
|
|
--exclude=*.so \
|
|
--exclude=*.il \
|
|
--exclude=*.il \
|
|
@@ -172,6 +176,10 @@ tar:
|
|
--exclude=*.gz \
|
|
--exclude=*.gz \
|
|
--exclude=*.bz2 \
|
|
--exclude=*.bz2 \
|
|
--exclude=*.tar \
|
|
--exclude=*.tar \
|
|
|
|
+ --exclude=*.patch \
|
|
|
|
+ --exclude=.\#* \
|
|
|
|
+ --exclude=*.swp \
|
|
|
|
+ ${tar_extra_args} \
|
|
-cf - $(notdir $(CURDIR)) | \
|
|
-cf - $(notdir $(CURDIR)) | \
|
|
(mkdir -p tmp/_tar1; mkdir -p tmp/_tar2 ; \
|
|
(mkdir -p tmp/_tar1; mkdir -p tmp/_tar2 ; \
|
|
cd tmp/_tar1; $(TAR) -xf - ) && \
|
|
cd tmp/_tar1; $(TAR) -xf - ) && \
|