File: Makefile.am

package info (click to toggle)
tinyproxy 1.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 912 kB
  • sloc: ansic: 6,361; sh: 359; perl: 351; makefile: 190; awk: 4
file content (25 lines) | stat: -rw-r--r-- 642 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
pkgsysconfdir = $(sysconfdir)/$(PACKAGE)

pkgsysconf_DATA = \
	tinyproxy.conf

EXTRA_DIST = \
	tinyproxy.conf.in

edit = sed \
	-e 's|@bindir[@]|$(bindir)|g' \
	-e 's|@datadir[@]|$(datadir)|g' \
	-e 's|@datarootdir[@]|$(datarootdir)|g' \
	-e 's|@pkgsysconfdir[@]|$(pkgsysconfdir)|g' \
	-e 's|@localstatedir[@]|$(localstatedir)|g' \
	-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
	-e 's|@prefix[@]|$(prefix)|g' \
	-e 's|@TINYPROXY_STATHOST[@]|$(TINYPROXY_STATHOST)|g'

tinyproxy.conf: $(top_srcdir)/etc/tinyproxy.conf.in Makefile
	@rm -f $@ $@.tmp
	$(AM_V_GEN) $(edit) $(top_srcdir)/etc/$@.in > $@.tmp
	@mv $@.tmp $@

CLEANFILES = \
	tinyproxy.conf