summaryrefslogtreecommitdiff
path: root/fluxbox/debian/rules.d/050-install_override.mk
diff options
context:
space:
mode:
Diffstat (limited to 'fluxbox/debian/rules.d/050-install_override.mk')
-rw-r--r--fluxbox/debian/rules.d/050-install_override.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/fluxbox/debian/rules.d/050-install_override.mk b/fluxbox/debian/rules.d/050-install_override.mk
new file mode 100644
index 0000000..cfa883f
--- /dev/null
+++ b/fluxbox/debian/rules.d/050-install_override.mk
@@ -0,0 +1,20 @@
+# We're going to intercept the install stage so we can hack up
+# some files.
+
+override_dh_auto_install_pre:
+ dh_auto_install
+
+override_dh_auto_install_clean:
+ rm -f ./debian/fluxbox/usr/bin/fluxbox-generate_menu
+ perl debian/update-init.pl \
+ debian/fluxbox$(DEB_CONFIGURE_SYSCONFDIR)/init
+
+override_dh_auto_install_theme:
+ cd ./debian/additional-themes && make
+ cd ./debian/additional-themes && make install
+ cd ./debian/additional-themes && make clean
+
+override_dh_auto_install: \
+ override_dh_auto_install_pre \
+ override_dh_auto_install_theme \
+ override_dh_auto_install_clean
bgstack15