| 1 |
Description: Don't remove sounds on dist-clean |
| 2 |
Upstream build system may optionally download some extra sound files. |
| 3 |
Thus those sound files are deleted on dist-clean. |
| 4 |
The tarballs include some soundfiles tarballs by default. |
| 5 |
Thus the normal procedure of running 'make dist-clean' |
| 6 |
before building the package would delete them. |
| 7 |
. |
| 8 |
Not used ATM as we ship a tarball with the sound files stripped out. |
| 9 |
May be re-used in the future. |
| 10 |
Author: Faidon Liambotis <[email protected]> |
| 11 |
Forwarded: not-needed |
| 12 |
Last-Update: 2022-01-22 |
| 13 |
--- |
| 14 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 15 |
--- a/Makefile |
| 16 |
+++ b/Makefile |
| 17 |
@@ -442,7 +442,6 @@ |
| 18 |
|
| 19 |
distclean: $(SUBDIRS_DIST_CLEAN) _clean |
| 20 |
@$(MAKE) -C menuselect dist-clean |
| 21 |
- @$(MAKE) -C sounds dist-clean |
| 22 |
rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps |
| 23 |
rm -f makeopts.embed_rules |
| 24 |
rm -f config.log config.status config.cache |
| 25 |
@@ -452,6 +451,10 @@ |
| 26 |
rm -rf doc/api |
| 27 |
rm -f build_tools/menuselect-deps |
| 28 |
|
| 29 |
+# tarballs distributed by Digium include sounds |
| 30 |
+all-clean: distclean |
| 31 |
+ @$(MAKE) -C sounds dist-clean |
| 32 |
+ |
| 33 |
datafiles: _all doc/core-en_US.xml |
| 34 |
CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig "$(DESTDIR)$(libdir)/pkgconfig"; |
| 35 |
# Should static HTTP be installed during make samples or even with its own target ala |