Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 30bc0afe54c022125a9bc80d9ff7c3f055e6897c (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
SUBDIRS = src
bin_SCRIPTS = fsgateway
EXTRA_DIST = fsgateway.in

REWRITE = \
	sed -e "s|\@prefix\@|$(prefix)|g"       \
	    -e "s|\@pkglibdir\@|$(pkglibdir)|g" \
	    -e "s|\@bindir\@|$(bindir)|g"		\
	    -e "s|\@MONO\@|$(MONO)|g" 

$(bin_SCRIPTS): $(srcdir)/fsgateway.in Makefile
	$(REWRITE) $(srcdir)/fsgateway.in > $@.tmp
	mv $@.tmp $@

CLEANFILES = \
	fsgateway

MAINTAINERCLEANFILES = \
        INSTALL \
        Makefile.in \
        aclocal.m4 \
        config.guess \
        config.sub \
        configure \
        install-sh \
        missing