EMILE/docs/Makefile
2007-09-06 22:09:11 +00:00

29 lines
595 B
Makefile

#
# (c) 2005-2007 Laurent Vivier <Laurent@lvivier.info>
#
#
TOP=$(shell pwd)
SOURCES = emile-first-tune.sgml emile-install.sgml emile-map-set.sgml \
emile-set-cmdline.sgml emile-set-output.sgml emile.sgml \
emile-mkisofs.sgml
MANPAGES = $(SOURCES:.sgml=.8.gz)
MANPATH = /usr/share/man/man8
MANPAGESWPATH = $(foreach file, $(MANPAGES), $(MANPATH)/$(file))
all: $(MANPAGES)
install: all
install -m 755 -d $(DESTDIR)/$(PREFIX)/$(MANPATH)
install -m 644 *.8.gz $(DESTDIR)/$(PREFIX)/$(MANPATH)
uninstall:
rm -f $(MANPAGESWPATH)
include $(TOP)/../tools.mk
include $(TOP)/../Rules.mk