2005-11-16 14:00:27 +00:00
|
|
|
TOP=$(shell pwd)
|
2005-06-16 05:41:02 +00:00
|
|
|
|
2005-11-30 00:27:37 +00:00
|
|
|
SOURCES = emile-first-tune.sgml emile-install.sgml emile-map-set.sgml \
|
|
|
|
emile-set-cmdline.sgml emile-set-output.sgml emile.sgml
|
|
|
|
|
|
|
|
MANPAGES = $(SOURCES:.sgml=.8.gz)
|
2005-06-16 05:41:02 +00:00
|
|
|
|
|
|
|
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)
|
2005-11-08 02:18:06 +00:00
|
|
|
|
2005-11-16 14:00:27 +00:00
|
|
|
include $(TOP)/../Rules.mk
|