summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 6 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index f8f5999..3cc209d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,27 +20,25 @@ noinst_HEADERS = \
ufed-curses-globals.h \
ufed-curses-help.h \
ufed-curses-types.h
-
-dist_man_MANS = ufed.8
+
+man_MANS = ufed.8
EXTRA_DIST = ufed.pl.in ufed.8.in
+CLEANFILES = $(sbin_SCRIPTS) $(man_MANS)
+
ufed: $(top_srcdir)/ufed.pl.in
- cd $(top_srcdir) && \
rm -f ufed.tmp && \
$(SED) \
-e 's|XX_PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e 's|XX_PERL[@]|$(PERL)|g' \
-e 's|XX_pkglibexecdir[@]|$(pkglibexecdir)|g' \
-e 's|XX_perldir[@]|$(perldir)|g' \
- ufed.pl.in >ufed.tmp && \
- chmod +x ufed.tmp && \
+ $(top_srcdir)/ufed.pl.in >ufed.tmp && \
mv ufed.tmp ufed
ufed.8: $(top_srcdir)/ufed.8.in
- cd $(top_srcdir) && \
rm -f ufed.8.tmp && \
$(SED) \
-e 's|@GENTOO_PORTAGE_EPREFIX@|$(E_PREFIX)|g' \
- ufed.8.in >ufed.8.tmp && \
- chmod +x ufed.8.tmp && \
+ $(top_srcdir)/ufed.8.in >ufed.8.tmp && \
mv ufed.8.tmp ufed.8