6a202d66b0
As we only put the version number to the distributed scripts, there's no reason to regenerate them each time.
15 lines
401 B
Makefile
15 lines
401 B
Makefile
dist_bin_SCRIPTS = sunrise-commit
|
|
dist_man1_MANS = sunrise-commit.1
|
|
|
|
EXTRA_DIST = sunrise-commit.in sunrise-commit.1.in
|
|
|
|
$(dist_bin_SCRIPTS) $(dist_man1_MANS): configure.ac
|
|
rm -f $@ $@.tmp
|
|
sed -e "s|@PACKAGE_STRING[@]|@PACKAGE_STRING@|" ${srcdir}/$@.in > $@.tmp
|
|
! [ -x $@ ] || chmod +x $@.tmp
|
|
chmod a-w $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
sunrise-commit: sunrise-commit.in
|
|
sunrise-commit.1: sunrise-commit.1.in
|