File: Makefile.am

package info (click to toggle)
freeipa 4.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 367,240 kB
  • sloc: javascript: 562,763; python: 310,289; ansic: 49,809; sh: 7,176; makefile: 2,589; xml: 343; sed: 16
file content (25 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
NULL =

appdir = $(IPA_SYSCONF_DIR)/html
app_DATA =                              \
	ssbrowser.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