Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # export DH_VERBOSE = 1
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
5 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
6
7 export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
8 export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
9
10 %:
11 dh $@
12
13 # hyprpaper uses the 'clear' target instead of a 'clean' target
14 override_dh_auto_clean:
15 dh_auto_clean
16 rm -rf protocols/*.hpp protocols/*.cpp
17 rm -rf *.c *.h obj-x86_64-linux-gnu/
18
19 override_dh_auto_configure:
20 dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr