summaryrefslogtreecommitdiff
path: root/app/xlsfonts/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'app/xlsfonts/Makefile.am')
-rw-r--r--app/xlsfonts/Makefile.am43
1 files changed, 5 insertions, 38 deletions
diff --git a/app/xlsfonts/Makefile.am b/app/xlsfonts/Makefile.am
index e6a1df897..9cd8d5fe6 100644
--- a/app/xlsfonts/Makefile.am
+++ b/app/xlsfonts/Makefile.am
@@ -19,20 +19,19 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+SUBDIRS = man
bin_PROGRAMS = xlsfonts
AM_CFLAGS = $(XLSFONTS_CFLAGS) $(CWARNFLAGS)
xlsfonts_LDADD = $(XLSFONTS_LIBS)
xlsfonts_SOURCES = \
- dsimple.c \
- dsimple.h \
+ dsimple.c \
+ dsimple.h \
xlsfonts.c
-appman_PRE = \
- xlsfonts.man
-
-EXTRA_DIST = xlsfonts.sgml autogen.sh
+EXTRA_DIST = xlsfonts.xml
+MAINTAINERCLEANFILES = ChangeLog INSTALL
.PHONY: ChangeLog INSTALL
@@ -43,35 +42,3 @@ ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
-
-appmandir = $(APP_MAN_DIR)
-
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-EXTRA_DIST += $(appman_PRE)
-MAINTAINERCLEANFILES = ChangeLog INSTALL
-CLEANFILES = $(appman_DATA)
-
-SED = sed
-
-# Strings to replace in man pages
-XORGRELSTRING = @PACKAGE_STRING@
- XORGMANNAME = X Version 11
-
-MAN_SUBSTS = \
- -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
- -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
- -e 's|__xservername__|Xorg|g' \
- -e 's|__xconfigfile__|xorg.conf|g' \
- -e 's|__projectroot__|$(prefix)|g' \
- -e 's|__apploaddir__|$(appdefaultdir)|' \
- -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
- -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
- -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
- -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
- -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
-
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-.man.$(APP_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@