1## Run automake on this file to produce Makefile.in 2 3# Fig2dev: Translate Fig code to various Devices 4# Parts Copyright (c) 2015, 2016 by Thomas Loimer 5# 6# Any party obtaining a copy of these files is granted, free of charge, a 7# full and unrestricted irrevocable, world-wide, paid up, royalty-free, 8# nonexclusive right and license to deal in this software and documentation 9# files (the "Software"), including without limitation the rights to use, 10# copy, modify, merge, publish, distribute, sublicense and/or sell copies 11# of the Software, and to permit persons who receive copies from any such 12# party to do so, with the only requirement being that the above copyright 13# and this permission notice remain intact. 14 15# man/Makefile.am 16# Author: Thomas Loimer, 2015, 2016. 17 18 19MAINTAINERCLEANFILES = Makefile.in 20 21# Install the given files in section 1 of the man-pages. 22# man_MANS would deduce the correct section from the file suffix, at a 23# slight speed penalty. 24# Without the dist_ prefix these files are not copied into the tarball 25# created by "make dist", because automake thinks man-pages are generated 26# from other sources. 27dist_man1_MANS = fig2ps2tex.1 pic2tpic.1 28# fig2dev.1 _is_ created from fig2dev.1.in, i18n.man and nfss.man. 29# fig2dev.1.in is mentioned in configure.ac, so no need 30# to mention it here in EXTRA_DIST 31# But mention transfig.1, otherwise it is not distributed, if configure 32# runs without --enable-transfig. 33man1_MANS = fig2dev.1 34EXTRA_DIST = i18n.man nfss.man transfig.1 35 36# fig2dev.1 depends on PACKAGE_VERSION - pick up new version, if it changes 37fig2dev.1.in: $(CONFIG_HEADER) 38 39if ENABLE_TRANSFIG 40man1_MANS += transfig.1 41endif 42 43uninstall-hook: 44 -rmdir "$(DESTDIR)$(man1dir)" 45