aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-01 15:31:15 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-01 15:31:15 -0400
commit7f073bae21ce8d7e53f576259232837f9fec3258 (patch)
tree97db871b07909189ee24bc043ce4c6891528d1de /Makefile
parent91b69e62bc9575d313f0e30989bf1f004e830b74 (diff)
downloadbw-atari8-tools-7f073bae21ce8d7e53f576259232837f9fec3258.tar.gz
atascii(7): added.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 76d7361..4d8f460 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
MAN1DIR=$(MANDIR)/man1
MAN5DIR=$(MANDIR)/man5
+MAN7DIR=$(MANDIR)/man7
DOCDIR=$(PREFIX)/share/doc/bw-atari8-tools
# Compiler stuff
@@ -19,6 +20,7 @@ BINS=a8eol xfd2atr atr2xfd blob2c cart2xex fenders xexsplit xexcat atrsize rom2c
SCRIPTS=dasm2atasm a8utf8
MANS=a8eol.1 xfd2atr.1 atr2xfd.1 blob2c.1 cart2xex.1 fenders.1 xexsplit.1 xexcat.1 atrsize.1 rom2cart.1 unmac65.1 axe.1 dasm2atasm.1 a8utf8.1 blob2xex.1 xexamine.1 xex1to2.1
MAN5S=xex.5
+MAN7S=atascii.7
DOCS=README equates.inc *.dasm
# All the programs share this version number...
@@ -123,7 +125,7 @@ unmac65.xex: unmac65.c
axe: axe.c axe.h axelib.c
-manpages: $(MANS) $(MAN5S)
+manpages: $(MANS) $(MAN5S) $(MAN7S)
%.1: %.rst manhdr.rst manftr.rst
$(RST2MAN) $< > $@
@@ -131,6 +133,9 @@ manpages: $(MANS) $(MAN5S)
%.5: %.rst manhdr5.rst manftr.rst
$(RST2MAN) $< > $@
+%.7: %.rst manhdr7.rst manftr.rst
+ $(RST2MAN) $< > $@
+
# "make clean" does NOT remove the .bin or _bin.[ch] files. This is
# for people who don't have either dasm or atasm installed.
# also, it doesn't remove the man pages. these are checked into git, even.
@@ -161,6 +166,12 @@ install: all
gzip -f $(DESTDIR)/$(MAN5DIR)/$$i ; \
fi ; \
done
+ for i in $(MAN7S) ; do \
+ install -m0644 -oroot -groot $$i $(DESTDIR)/$(MAN7DIR) ; \
+ if [ "$(GZIP_MAN)" = "y" ]; then \
+ gzip -f $(DESTDIR)/$(MAN7DIR)/$$i ; \
+ fi ; \
+ done
if [ "$(GZIP_MAN)" = "y" ]; then \
cd $(DESTDIR)/$(MAN1DIR) && rm -f atrcheck.1.gz && ln -s atr2xfd.1.gz atrcheck.1.gz ; \
cd $(DESTDIR)/$(MAN1DIR) && rm -f cart2rom.1.gz && ln -s rom2cart.1.gz cart2rom.1.gz ; \