aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-07-25 00:11:16 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-07-25 00:11:16 +0200
commitda19d2d1b371ccff4cd30385075a7b9cb036df00 (patch)
treef7cca5646908a120c0d15ccbbed604252bd28b48
parentFix spelling errors found by lintian (diff)
downloadfirejail-da19d2d1b371ccff4cd30385075a7b9cb036df00.tar.gz
firejail-da19d2d1b371ccff4cd30385075a7b9cb036df00.tar.zst
firejail-da19d2d1b371ccff4cd30385075a7b9cb036df00.zip
Simplify dist target and add missing test/sysutils to tarball
-rw-r--r--Makefile.in23
-rwxr-xr-xtest/filters/seccomp-dualfilter.exp4
2 files changed, 10 insertions, 17 deletions
diff --git a/Makefile.in b/Makefile.in
index c6147cee7..0903e3b8d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -284,24 +284,17 @@ uninstall:
284 rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firemon 284 rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firemon
285 rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firecfg 285 rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firecfg
286 286
287DISTFILES = "src etc platform configure configure.ac Makefile.in install.sh mkman.sh mketc.sh mkdeb.sh COPYING README RELNOTES"
288DISTFILES_TEST = "test/apps test/apps-x11 test/environment test/profiles test/utils test/compile test/dist-compile test/filters test/network test/fs test/sysutils"
289
287dist: 290dist:
288 make distclean 291 make distclean
289 rm -fr $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2 292 rm -fr $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2
290 mkdir $(NAME)-$(VERSION) 293 mkdir -p $(NAME)-$(VERSION)/test
291 cd $(NAME)-$(VERSION); cp -a ../src .; cp -a ../etc .; cp -a ../platform .; rm -fr src/tools; cd .. 294 cp -a "$(DISTFILES)" $(NAME)-$(VERSION)
292 cd $(NAME)-$(VERSION); cp -a ../configure .; cp -a ../configure.ac .; cp -a ../Makefile.in .; cp -a ../install.sh .; cp -a ../mkman.sh .; cp -a ../mketc.sh .; cp -a ../mkdeb.sh .;cd .. 295 cp -a "$(DISTFILES_TEST)" $(NAME)-$(VERSION)/test
293 cd $(NAME)-$(VERSION); cp -a ../COPYING .; cp -a ../README .; cp -a ../RELNOTES .; cd .. 296 rm -rf $(NAME)-$(VERSION)/src/tools
294 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/profiles test/.; cd .. 297 find $(NAME)-$(VERSION) -name .svn -delete
295 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/apps test/.; cd ..
296 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/utils test/.; cd ..
297 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/apps-x11 test/.; cd ..
298 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/environment test/.; cd ..
299 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/compile test/.; cd ..
300 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/dist-compile test/.; cd ..
301 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/filters test/.; cd ..
302 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/network test/.; cd ..
303 cd $(NAME)-$(VERSION); mkdir -p test; cp -a ../test/fs test/.; cd ..
304 cd $(NAME)-$(VERSION); rm -fr `find . -name .svn`; rm -fr $(NAME)-$(VERSION); cd ..
305 tar -cjvf $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) 298 tar -cjvf $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
306 rm -fr $(NAME)-$(VERSION) 299 rm -fr $(NAME)-$(VERSION)
307 300
diff --git a/test/filters/seccomp-dualfilter.exp b/test/filters/seccomp-dualfilter.exp
index c75063672..8a48130b3 100755
--- a/test/filters/seccomp-dualfilter.exp
+++ b/test/filters/seccomp-dualfilter.exp
@@ -9,13 +9,13 @@ match_max 100000
9 9
10send -- "./syscall_test\r" 10send -- "./syscall_test\r"
11expect { 11expect {
12 timeout {puts "TESTING SKIP: 64-bit support missing\n";exit} 12 timeout {puts "\nTESTING SKIP: 64-bit support missing\n";exit}
13 "Usage" 13 "Usage"
14} 14}
15 15
16send -- "./syscall_test32\r" 16send -- "./syscall_test32\r"
17expect { 17expect {
18 timeout {puts "TESTING SKIP: 32-bit support missing\n";exit} 18 timeout {puts "\nTESTING SKIP: 32-bit support missing\n";exit}
19 "Usage" 19 "Usage"
20} 20}
21 21