summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@math.sfu.ca>2014-01-27 23:16:07 -0800
committerKevin Mitchell <kevmitch@math.sfu.ca>2014-01-27 23:16:07 -0800
commit6c279b73c4a42b772a63780de408733b042a87ed (patch)
treeb2934ca66ac1c4f429f5d36f7f4b0328d5c37d30 /scripts
parentdede8140fc6c5bcfaa02e4925f8f80a864fe07c1 (diff)
downloadmpv-build-6c279b73c4a42b772a63780de408733b042a87ed.tar.bz2
mpv-build-6c279b73c4a42b772a63780de408733b042a87ed.tar.xz
Bring back a waf-compatible deiban build system
For override_dh_auto_install, just tell waf to install the files under debian/mpv. The main problem was that the script names clean,build,install in the root directory collided with makefile targets in debian/rules which lead make to do nothing since they appeared already up-to-date. .PHONY wasn't enough since the targets are implicit via the % operator. I had to explicitly declare the problematic targets AND list them as .PHONY
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/libass-clean4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/libass-clean b/scripts/libass-clean
index 2a2efce..d2a431c 100755
--- a/scripts/libass-clean
+++ b/scripts/libass-clean
@@ -1,3 +1,5 @@
#!/bin/sh
-make -C libass distclean
+if [ -f libass/Makefile ];then
+ make -C libass distclean
+fi