diff --git a/.gitignore b/.gitignore index 70dba09b292..66daccf5d35 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ .directory *.man .vscode -Makefile autom4te.cache/ config.log config.mk @@ -25,7 +24,6 @@ firejail.1 firemon.1 firecfg.1 jailcheck.1 -mkdeb.sh src/fnettrace-dns/fnettrace-dns src/fnettrace-sni/fnettrace-sni src/firejail/firejail @@ -57,7 +55,6 @@ seccomp.64 seccomp.block_secondary seccomp.mdwx seccomp.mdwx.32 -src/common.mk aclocal.m4 __pycache__ *.pyc diff --git a/Makefile.in b/Makefile similarity index 96% rename from Makefile.in rename to Makefile index 4d99836721a..c235aff7c0f 100644 --- a/Makefile.in +++ b/Makefile @@ -85,7 +85,7 @@ distclean: clean $(MAKE) -C $$dir distclean; \ done $(MAKE) -C test distclean - rm -fr Makefile autom4te.cache config.log config.mk config.sh config.status src/common.mk mkdeb.sh + rm -fr autom4te.cache config.log config.mk config.sh config.status realinstall: # firejail executable @@ -189,7 +189,7 @@ uninstall: DISTFILES = \ COPYING \ -Makefile.in \ +Makefile \ README \ RELNOTES \ config.mk.in \ @@ -200,20 +200,18 @@ contrib \ etc \ install.sh \ m4 \ -mkdeb.sh.in \ +mkdeb.sh \ mketc.sh \ mkman.sh \ platform \ src -DISTFILES_TEST = test/Makefile.in test/apps test/apps-x11 test/apps-x11-xorg test/root test/private-lib test/fnetfilter test/fcopy test/environment test/profiles test/utils test/compile test/filters test/network test/fs test/sysutils test/chroot +DISTFILES_TEST = test/Makefile test/apps test/apps-x11 test/apps-x11-xorg test/root test/private-lib test/fnetfilter test/fcopy test/environment test/profiles test/utils test/compile test/filters test/network test/fs test/sysutils test/chroot dist: mv config.sh config.sh.old mv config.status config.status.old - mv mkdeb.sh mkdeb.sh.old make distclean - mv mkdeb.sh.old mkdeb.sh mv config.status.old config.status mv config.sh.old config.sh rm -fr $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.xz diff --git a/configure b/configure index a2d2e753096..f3bd771691f 100755 --- a/configure +++ b/configure @@ -4085,9 +4085,7 @@ if test "$prefix" = /usr; then test "$sysconfdir" = '${prefix}/etc' && sysconfdir="/etc" fi -ac_config_files="$ac_config_files mkdeb.sh" - -ac_config_files="$ac_config_files Makefile config.mk config.sh src/bash_completion/Makefile src/common.mk src/fbuilder/Makefile src/fcopy/Makefile src/fids/Makefile src/firecfg/Makefile src/firejail/Makefile src/firemon/Makefile src/fldd/Makefile src/fnet/Makefile src/fnetfilter/Makefile src/fnettrace-dns/Makefile src/fnettrace-sni/Makefile src/fnettrace/Makefile src/fsec-optimize/Makefile src/fsec-print/Makefile src/fseccomp/Makefile src/ftee/Makefile src/fzenity/Makefile src/jailcheck/Makefile src/lib/Makefile src/libpostexecseccomp/Makefile src/libtrace/Makefile src/libtracelog/Makefile src/man/Makefile src/profstats/Makefile src/zsh_completion/Makefile test/Makefile" +ac_config_files="$ac_config_files config.mk config.sh" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -4795,38 +4793,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 for ac_config_target in $ac_config_targets do case $ac_config_target in - "mkdeb.sh") CONFIG_FILES="$CONFIG_FILES mkdeb.sh" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "config.mk") CONFIG_FILES="$CONFIG_FILES config.mk" ;; "config.sh") CONFIG_FILES="$CONFIG_FILES config.sh" ;; - "src/bash_completion/Makefile") CONFIG_FILES="$CONFIG_FILES src/bash_completion/Makefile" ;; - "src/common.mk") CONFIG_FILES="$CONFIG_FILES src/common.mk" ;; - "src/fbuilder/Makefile") CONFIG_FILES="$CONFIG_FILES src/fbuilder/Makefile" ;; - "src/fcopy/Makefile") CONFIG_FILES="$CONFIG_FILES src/fcopy/Makefile" ;; - "src/fids/Makefile") CONFIG_FILES="$CONFIG_FILES src/fids/Makefile" ;; - "src/firecfg/Makefile") CONFIG_FILES="$CONFIG_FILES src/firecfg/Makefile" ;; - "src/firejail/Makefile") CONFIG_FILES="$CONFIG_FILES src/firejail/Makefile" ;; - "src/firemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/firemon/Makefile" ;; - "src/fldd/Makefile") CONFIG_FILES="$CONFIG_FILES src/fldd/Makefile" ;; - "src/fnet/Makefile") CONFIG_FILES="$CONFIG_FILES src/fnet/Makefile" ;; - "src/fnetfilter/Makefile") CONFIG_FILES="$CONFIG_FILES src/fnetfilter/Makefile" ;; - "src/fnettrace-dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/fnettrace-dns/Makefile" ;; - "src/fnettrace-sni/Makefile") CONFIG_FILES="$CONFIG_FILES src/fnettrace-sni/Makefile" ;; - "src/fnettrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/fnettrace/Makefile" ;; - "src/fsec-optimize/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-optimize/Makefile" ;; - "src/fsec-print/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-print/Makefile" ;; - "src/fseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/fseccomp/Makefile" ;; - "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;; - "src/fzenity/Makefile") CONFIG_FILES="$CONFIG_FILES src/fzenity/Makefile" ;; - "src/jailcheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/jailcheck/Makefile" ;; - "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; - "src/libpostexecseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpostexecseccomp/Makefile" ;; - "src/libtrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtrace/Makefile" ;; - "src/libtracelog/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtracelog/Makefile" ;; - "src/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;; - "src/profstats/Makefile") CONFIG_FILES="$CONFIG_FILES src/profstats/Makefile" ;; - "src/zsh_completion/Makefile") CONFIG_FILES="$CONFIG_FILES src/zsh_completion/Makefile" ;; - "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac @@ -5240,11 +5208,6 @@ which seems to be undefined. Please make sure it is defined" >&2;} esac - - case $ac_file$ac_mode in - "mkdeb.sh":F) chmod +x mkdeb.sh ;; - - esac done # for ac_tag diff --git a/configure.ac b/configure.ac index 53de0eb1dbc..8a488ff4301 100644 --- a/configure.ac +++ b/configure.ac @@ -282,40 +282,7 @@ if test "$prefix" = /usr; then test "$sysconfdir" = '${prefix}/etc' && sysconfdir="/etc" fi -AC_CONFIG_FILES([mkdeb.sh], [chmod +x mkdeb.sh]) -AC_CONFIG_FILES([ -Makefile -config.mk -config.sh -src/bash_completion/Makefile -src/common.mk -src/fbuilder/Makefile -src/fcopy/Makefile -src/fids/Makefile -src/firecfg/Makefile -src/firejail/Makefile -src/firemon/Makefile -src/fldd/Makefile -src/fnet/Makefile -src/fnetfilter/Makefile -src/fnettrace-dns/Makefile -src/fnettrace-sni/Makefile -src/fnettrace/Makefile -src/fsec-optimize/Makefile -src/fsec-print/Makefile -src/fseccomp/Makefile -src/ftee/Makefile -src/fzenity/Makefile -src/jailcheck/Makefile -src/lib/Makefile -src/libpostexecseccomp/Makefile -src/libtrace/Makefile -src/libtracelog/Makefile -src/man/Makefile -src/profstats/Makefile -src/zsh_completion/Makefile -test/Makefile -]) +AC_CONFIG_FILES([config.mk config.sh]) AC_OUTPUT cat <