diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-05-13 19:33:12 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-05-13 19:59:55 -0300 |
commit | 1fb814e51149d105233f1edc1abb0de202f71b4d (patch) | |
tree | f5b7a474621d196e96a2f4ac5f43f6140353c525 /Makefile.in | |
parent | xonotic.profile: fix audit denial spam (diff) | |
download | firejail-1fb814e51149d105233f1edc1abb0de202f71b4d.tar.gz firejail-1fb814e51149d105233f1edc1abb0de202f71b4d.tar.zst firejail-1fb814e51149d105233f1edc1abb0de202f71b4d.zip |
Makefile.in: stop running distclean on dist
distclean erases user-made modifications to the files generated by the
configure script; it is not obvious that a non-"clean" target would ever
run it.
That is, instead of:
./configure --enable-foo && make distclean && make dist
It would probably be safer (and more maintainable) to do:
make distclean && ./configure --enable-foo && make dist
So drop the distclean call and the file-moving hacks around it.
Added on commit 137985136 ("Baseline firejail 0.9.28", 2015-08-08).
Relates to commit 684919100 ("bug: preserve config.status during make
dist", 2016-09-19) and commit 31dc1218a ("fixups", 2020-07-19).
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index 945e30e84..0e80fb43a 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -207,11 +207,6 @@ DISTFILES = "src etc m4 platform contrib configure configure.ac Makefile.in inst | |||
207 | 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" | 207 | 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" |
208 | 208 | ||
209 | dist: | 209 | dist: |
210 | mv config.status config.status.old | ||
211 | mv mkdeb.sh mkdeb.sh.old | ||
212 | make distclean | ||
213 | mv mkdeb.sh.old mkdeb.sh | ||
214 | mv config.status.old config.status | ||
215 | rm -fr $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.xz | 210 | rm -fr $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.xz |
216 | mkdir -p $(NAME)-$(VERSION)/test | 211 | mkdir -p $(NAME)-$(VERSION)/test |
217 | cp -a "$(DISTFILES)" $(NAME)-$(VERSION) | 212 | cp -a "$(DISTFILES)" $(NAME)-$(VERSION) |