mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 05:44:11 +01:00
Configure: Use automake's conditional to handle icon installation
The previous method was to use a custom install procedure, which is a bit complex when automake can handle this for us, and as a side effect it made 'distcheck' fail on uninstall procedure check. The new method is to use a simple conditional and autoconf/automake will do all the work for us. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
587a37dc60
commit
7889c50c36
@@ -1,7 +1,7 @@
|
||||
xpmdatadir = $(wprefs_datadir)/xpm
|
||||
|
||||
|
||||
EXTRA_DIST = \
|
||||
if ICON_EXT_XPM
|
||||
dist_xpmdata_DATA = \
|
||||
advancetonewworkspace.xpm \
|
||||
animations.xpm \
|
||||
appearance.xpm \
|
||||
@@ -72,14 +72,4 @@ EXTRA_DIST = \
|
||||
workspace.xpm \
|
||||
workspacename.xpm \
|
||||
xis.xpm
|
||||
|
||||
|
||||
XPM_FILES=
|
||||
|
||||
xpmdata_DATA=$(XPM_FILES)
|
||||
|
||||
install-data-local:
|
||||
if [ @ICONEXT@ = "xpm" -a x"$(XPM_FILES)" = "x" ] ; then\
|
||||
$(MAKE) install-data XPM_FILES="$(EXTRA_DIST)";\
|
||||
fi
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user