[med-svn] [cnrun] 02/11: add a debian-specific target dist-orig-xz

andrei zavada hmmr-guest at moszumanska.debian.org
Sat Jan 30 17:27:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch WIP
in repository cnrun.

commit f13f3e62a8c16a8b67a2fc98f32167b555a69edf
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sun Jan 3 17:20:31 2016 +0200

    add a debian-specific target dist-orig-xz
---
 debian/unwanted-files | 26 --------------------------
 upstream/Makefile.am  | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 26 deletions(-)

diff --git a/debian/unwanted-files b/debian/unwanted-files
deleted file mode 100644
index 75788c3..0000000
--- a/debian/unwanted-files
+++ /dev/null
@@ -1,26 +0,0 @@
-m4/libtool.m4
-m4/ltoptions.m4
-m4/ltsugar.m4
-m4/ltversion.m4
-aclocal.m4
-config.sub
-ltmain.sh
-depcomp
-install-sh
-autogen.sh
-configure
-config.guess
-missing
-
-Makefile.in
-src/Makefile.in
-src/*/Makefile.in
-doc/Makefile.in
-doc/lua-api/mdate-sh
-doc/lua-api/texinfo.tex
-doc/lua-api/Makefile.in
-doc/lua-api/mdate-sh
-doc/lua-api/texinfo.tex
-doc/lua-api/stamp-vti
-doc/lua-api/version.texi
-doc/lua-api/cnrun-lua-api.info
diff --git a/upstream/Makefile.am b/upstream/Makefile.am
index 6d15c4c..98cfaed 100644
--- a/upstream/Makefile.am
+++ b/upstream/Makefile.am
@@ -26,3 +26,36 @@ test:
 	 LUA_CPATH="./?.so;$$LUA_CPATH" \
 	 LD_PRELOAD=../../../src/libcnrun/.libs/libcnrun.so.2.0.0:$$LD_PRELOAD \
 	  lua ../example1.lua; e=$$?; cd $$_cwd && rm -rf _test; exit $$e)
+
+unwanted_files = \
+	m4/libtool.m4 \
+	m4/ltoptions.m4 \
+	m4/ltsugar.m4 \
+	m4/ltversion.m4 \
+	aclocal.m4 \
+	config.sub \
+	ltmain.sh \
+	depcomp \
+	install-sh \
+	autogen.sh \
+	configure \
+	config.guess \
+	missing \
+	Makefile.in \
+	src/Makefile.in \
+	src/*/Makefile.in \
+	doc/Makefile.in \
+	doc/lua-api/mdate-sh \
+	doc/lua-api/texinfo.tex \
+	doc/lua-api/Makefile.in \
+	doc/lua-api/mdate-sh \
+	doc/lua-api/texinfo.tex \
+	doc/lua-api/stamp-vti \
+	doc/lua-api/version.texi \
+	doc/lua-api/cnrun-lua-api.info
+
+dist-orig-xz: distdir
+	-rm -f $(distdir).tar.xz
+	(cd $(distdir) && rm -rf $(unwanted_files))
+	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(PACKAGE)_$(VERSION).orig.tar.xz
+	$(am__post_remove_distdir)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cnrun.git



More information about the debian-med-commit mailing list