diff --git a/debian/patches/001-create-directories-in-install-path.patch b/debian/patches/001-create-directories-in-install-path.patch deleted file mode 100644 index 849eea6..0000000 --- a/debian/patches/001-create-directories-in-install-path.patch +++ /dev/null @@ -1,12 +0,0 @@ -Description: Create the installation directory -Author: Alan M Varghese -Last-Update: 2024-03-09 -Forwarded: not-needed ---- a/Makefile -+++ b/Makefile -@@ -71,4 +71,5 @@ - - install: - make all -+ mkdir -p $(PREFIX)/bin - cp ./build/hyprpaper $(PREFIX)/bin -f diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 9413bf4..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -001-create-directories-in-install-path.patch diff --git a/debian/rules b/debian/rules index 0cb06c3..2a1d483 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,10 @@ export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) # hyprpaper uses the 'clear' target instead of a 'clean' target override_dh_auto_clean: dh_auto_clean - $(MAKE) clear + rm -rf *.c *.h obj-x86_64-linux-gnu/ + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr override_dh_auto_install: mkdir -p debian/tmp/usr/share/doc/hyprpaper