aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.am
blob: fc2e052294d9237671110a225738776a896e2ac0 (plain)
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
26
27
28
29
pkglib_SCRIPTS = easydialog parseini tools vserver

CLEANFILES = $(bin_SCRIPTS)

EXTRA_DIST = easydialog.in parseini.in tools.in vserver.in

edit = sed \
    -e "s,@CFGDIR\@,$(CFGDIR),g" \
    -e "s,@BASH\@,$(BASH),g" \
    -e 's,@datadir\@,$(pkgdatadir),g' \
    -e "s,@libdir\@,$(pkglibdir),g" \
    -e 's,@localstatedir\@,$(localstatedir),g' \
        -e 's,@prefix\@,$(prefix),g'

easydialog: $(srcdir)/easydialog.in
	rm -f easydialog
	$(edit) easydialog.in > easydialog

parseini: $(srcdir)/parseini.in
	rm -f parseini
	$(edit) parseini.in > parseini

tools: $(srcdir)/tools.in
	rm -f tools
	$(edit) tools.in > tools

vserver: $(srcdir)/vserver.in
	rm -f vserver
	$(edit) vserver.in > vserver