File: Makefile.am

package info (click to toggle)
rlinetd 0.9.3-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,992 kB
  • sloc: sh: 5,173; ansic: 3,212; yacc: 1,585; makefile: 174; lex: 131; sed: 16; perl: 4
file content (19 lines) | stat: -rw-r--r-- 707 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
exampledir = $(docdir)/examples
dist_example_DATA = builtins popper rpc simple
nodist_example_DATA = rlinetd.conf
CLEANFILES = rlinetd.conf
EXTRA_DIST = rlinetd.conf.in

TRANSFORM = $(SED) -e 's|%version%|$(VERSION)|g' \
                   -e 's|%package%|$(PACKAGE)|g' \
                   -e 's|%use_nls%|$(USE_NLS)|g' \
                   -e 's|%perlpath%|$(perlpath)|g' \
                   -e 's|%sysconfdir%|$(sysconfdir)|g'

rlinetd.conf: rlinetd.conf.in
	$(AM_V_GEN) sed -e 's|%sysconfdir%|$(sysconfdir)|g' < $< > $@

install-data-hook:
	test -e $(DESTDIR)$(sysconfdir)/rlinetd.conf || { \
	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rlinetd.d  && \
	$(INSTALL_DATA) rlinetd.conf $(DESTDIR)$(sysconfdir); }