mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
d5683726d2
Automake manual section 13 What Gets Cleaned says that make maintainer-clean should not remove files necessary for subsequent runs of ./configure. It practically means that all usage of MAINTAINERCLEANFILES were incorrect so I've removed them. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
29 lines
836 B
Makefile
29 lines
836 B
Makefile
NULL =
|
|
|
|
appdir = $(IPA_SYSCONF_DIR)/html
|
|
app_DATA = \
|
|
ffconfig.js \
|
|
ffconfig_page.js \
|
|
ssbrowser.html \
|
|
browserconfig.html \
|
|
unauthorized.html \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
$(app_DATA) \
|
|
$(NULL)
|
|
|
|
# Default user-modifiable HTML files are installed into /etc.
|
|
# /usr points to these modifiable files in /etc
|
|
# This is ugly but we do not have time to change it right now.
|
|
# Relative paths must be used to ensure that symlinks created in buildroot
|
|
# work after installation.
|
|
htmldatadir = $(datarootdir)/ipa/html
|
|
install-data-hook:
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(htmldatadir)
|
|
for FILE in $(app_DATA); do \
|
|
$(LN_S) --force --relative \
|
|
$(DESTDIR)$(appdir)/$${FILE} \
|
|
$(DESTDIR)$(htmldatadir)/$${FILE}; \
|
|
done
|