Debian build: Fix build rules
Upstream build process changed; accomodate changes in d/rules
This commit is contained in:
parent
1cc9647d04
commit
46836fb165
|
|
@ -1,12 +0,0 @@
|
|||
Description: Create the installation directory
|
||||
Author: Alan M Varghese <alan@digistorm.in>
|
||||
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
|
||||
|
|
@ -1 +0,0 @@
|
|||
001-create-directories-in-install-path.patch
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue