diff options
author | B. Stack <bgstack15@gmail.com> | 2022-11-09 16:04:18 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-11-09 16:04:18 -0500 |
commit | f183cfec8b565beeafd93f8f8b76a23fa71e78ff (patch) | |
tree | 654464b353c105428b65355a80d1322a2301483c /fluxbox/debian/rules.d/050-configure_override.mk | |
parent | Merge branch 'freefilesync-bump' into 'master' (diff) | |
download | stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.tar.gz stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.tar.bz2 stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.zip |
add fluxbox
Diffstat (limited to 'fluxbox/debian/rules.d/050-configure_override.mk')
-rw-r--r-- | fluxbox/debian/rules.d/050-configure_override.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fluxbox/debian/rules.d/050-configure_override.mk b/fluxbox/debian/rules.d/050-configure_override.mk new file mode 100644 index 0000000..a7c6907 --- /dev/null +++ b/fluxbox/debian/rules.d/050-configure_override.mk @@ -0,0 +1,20 @@ +# Intercept the configure stage to throw it some flags. + +FLUXBOX_VENDOR := $(shell \ + if dpkg-vendor --derives-from Ubuntu; then \ + echo Ubuntu; \ + else \ + echo Debian; \ + fi \ +) + +THEME_DEFAULT := $(shell \ + cat ./debian/additional-themes/defaults | \ + grep ^$(FLUXBOX_VENDOR) | \ + awk '{print $$2}' \ +) + +DEB_CONFIGURE_EXTRA_FLAGS += -with-style=$(DEB_STYLE_DIR)/$(THEME_DEFAULT) + +override_dh_auto_configure: + ./configure $(DEB_CONFIGURE_EXTRA_FLAGS) |