Fixing the missing-sources handling
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Sat, 17 Jun 2023 21:18:53 +0000 (23:18 +0200)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Sat, 17 Jun 2023 21:18:53 +0000 (23:18 +0200)
Gbp-Dch: ignore

debian/clean
debian/rules

index 75167fa932d6aa9341d9267aa5e499c24b662639..eb15f9e2052bcc199a512de3b98e074997dbb25f 100644 (file)
@@ -1 +1,2 @@
 debian/build/
+externals/Simple-FFT/include/
index 49327c82b99e1b027c22a64eabd634cb6342d184..9455b586d64108f0d00ee70222bd28c1b28cf3e7 100755 (executable)
@@ -11,7 +11,6 @@ CONFIG_gui = -Dnogui=false -Drtaudio=enabled -Djack=enabled
 
 
 builddir=debian/build/flavor-
-simple-fft-include=$(CURDIR)/externals/Simple-FFT/include/
 
 export QT_SELECT=qt5
 DEB_SRCDIR = .
@@ -19,12 +18,9 @@ DEB_SRCDIR = .
 %:
        dh $@ --sourcedirectory=$(DEB_SRCDIR) --buildsystem=meson
 
-execute_before_dh_auto_build:
+execute_before_dh_auto_configure:
        cp -r $(CURDIR)/debian/missing-sources/Simple-FFT/include/ \
-               $(simple-fft-include)
-
-execute_after_dh_auto_clean:
-       rm -rf $(simple-fft-include)
+               $(CURDIR)/externals/Simple-FFT/include/
 
 #.PHONY: $(patsubst %,configure_%,$(FLAVORS))
 override_dh_auto_configure-arch: $(patsubst %,configure_%,$(FLAVORS))