summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/Makefile.am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-12-14 12:55:02 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-12-14 12:55:02 +0000
commit642cb4fe7002b0e56f1c537835e38e9ad03e99fe (patch)
tree422089421ce29d23c1e0fa72330cd2f125b661ee /Build/source/utils/psutils/Makefile.am
parent6ed3c2d08e3f59485366fafee1b40ae5b500c056 (diff)
psutils: remove non-free
git-svn-id: svn://tug.org/texlive/trunk@20736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/psutils/Makefile.am')
-rw-r--r--Build/source/utils/psutils/Makefile.am54
1 files changed, 28 insertions, 26 deletions
diff --git a/Build/source/utils/psutils/Makefile.am b/Build/source/utils/psutils/Makefile.am
index e64b1f96a81..3971969638b 100644
--- a/Build/source/utils/psutils/Makefile.am
+++ b/Build/source/utils/psutils/Makefile.am
@@ -73,55 +73,57 @@ pstops_SOURCES = \
$(PSUTILS_TREE)/psutil.c \
$(PSUTILS_TREE)/psutil.h
-perl_scripts = extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps \
- fixscribeps fixtpps fixwfwps fixwpps fixwwps includeres psmerge
-
-shell_scripts = getafm showchar
+## Omitted fixmacps depending on removed non-free files
+## $(PSUTILS_TREE)/md{68,71}_0.ps.
+perl_scripts = \
+ extractres \
+ fixdlsrps \
+ fixfmps \
+ fixpsditps \
+ fixpspps \
+ fixscribeps \
+ fixtpps \
+ fixwfwps \
+ fixwpps \
+ fixwwps \
+ includeres \
+ psmerge
+
+shell_scripts = \
+ getafm \
+ showchar
nodist_bin_SCRIPTS = $(perl_scripts)
install-exec-hook:
+if !WIN32
@for f in $(shell_scripts); do \
echo "$(INSTALL_SCRIPT) '$(srcdir)/$(PSUTILS_TREE)/$$f.sh' '$(DESTDIR)$(bindir)/$$f'"; \
$(INSTALL_SCRIPT) "$(srcdir)/$(PSUTILS_TREE)/$$f.sh" "$(DESTDIR)$(bindir)/$$f"; \
done
+endif !WIN32
uninstall-hook:
+if !WIN32
@for f in $(shell_scripts); do \
echo "rm -f '$(DESTDIR)$(bindir)/$$f'"; \
rm -f "$(DESTDIR)$(bindir)/$$f"; \
done
+endif !WIN32
nodist_man1_MANS = \
- epsffit.1\
- extractres.1 \
- fixdlsrps.1 \
- fixfmps.1 \
- fixmacps.1 \
- fixpsditps.1 \
- fixpspps.1 \
- fixscribeps.1 \
- fixtpps.1 \
- fixwfwps.1 \
- fixwpps.1 \
- fixwwps.1 \
- getafm.1 \
- includeres.1 \
- psbook.1 \
- psmerge.1 \
- psnup.1 \
- psresize.1 \
- psselect.1 \
- pstops.1
+ $(bin_PROGRAMS:$(EXEEXT)=.1) \
+ $(perl_scripts:=.1) \
+ getafm.1
CLEANFILES = $(nodist_bin_SCRIPTS) $(nodist_man1_MANS)
PERL = /usr/bin/env perl
MAKETEXT = $(PERL) $(srcdir)/$(PSUTILS_TREE)/maketext
-%: $(PSUTILS_TREE)/%.pl
+%: $(PSUTILS_TREE)/%.pl patchlev.h
$(MAKETEXT) OS=$(OS) PERL="$(PERL)" $< >$@
-%.1: $(PSUTILS_TREE)/%.man
+%.1: $(PSUTILS_TREE)/%.man patchlev.h
$(MAKETEXT) PAPER=$(PAPER) "MAN=$(nodist_man1_MANS)" $< >$@