summaryrefslogtreecommitdiff
path: root/bin/Makefile.am
blob: 36bff37e5aa86710b21d94f00f898defa2186bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
bin_SCRIPTS = gnome-autogen.sh

## We create gnome-autogen.sh here and not from configure because we want
## to get the paths expanded correctly.  Macros like srcdir are given
## the value NONE in configure if the user doesn't specify them (this
## is an autoconf feature, not a bug).
gnome-autogen.sh: gnome-autogen.sh.in Makefile
## Use sed and then mv to avoid problems if the user interrupts.
	sed -e 's#\@datadir\@#$(datadir)#g' \
	      < $(srcdir)/gnome-autogen.sh.in > gnome-autogen.tmp \
	  && mv gnome-autogen.tmp gnome-autogen.sh

EXTRA_DIST = gnome-autogen.sh.in