Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 440 Bytes
SUBDIRS = src data desktop
bin_SCRIPTS = tkd
EXTRA_DIST = script.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)/script.in Makefile
$(REWRITE) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
clean-local:
-rm -f tkd
uninstall-local:
-rmdir $(pkglibdir)