X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2FMakefile;h=2f583ad0d6ed5884afb36717be1635a62c962785;hb=849c5ceff8223f5766996aa06749acccb87025e0;hp=67419b989799a1e25af1a2bd8c894b207b50b213;hpb=6ec2728fa3e7d44a52fff569377efaa17b933e6c;p=fw%2Fsdcc diff --git a/as/Makefile b/as/Makefile index 67419b98..2f583ad0 100644 --- a/as/Makefile +++ b/as/Makefile @@ -2,6 +2,7 @@ PRJDIR = .. include $(PRJDIR)/Makefile.common PORTS = z80 gbz80 +DOCS = README abstra.doc appendk.txt asmlnk.doc asxhtm.html format.txt all: $(MAKE) -C z80 _as-z80 _as-gbz80 E=$(E) BUILDDIR=../../bin/ @@ -9,9 +10,12 @@ all: clean: $(MAKE) -C z80 clean -install: +install: install-doc $(INSTALL) $(PRJDIR)/bin/as-z80 `echo $(bindir)/as-z80|sed '$(transform)'` $(STRIP) -s `echo $(bindir)/as-z80|sed '$(transform)'` $(INSTALL) $(PRJDIR)/bin/as-gbz80 `echo $(bindir)/as-gbz80|sed '$(transform)'` $(STRIP) -s `echo $(bindir)/as-gbz80|sed '$(transform)'` +install-doc: + $(INSTALL) -d $(docdir)/aslink + cp -f `find doc -maxdepth 1 -not -type d` $(docdir)/aslink