summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-11 12:55:58 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-11 12:55:58 +0100
commit4bd2d47e45eb0354d0096d5310ccfe7a0dc3dbd0 (patch)
tree0be03f643d4362b54b2ff132522f170bc2ed2be6 /Makefile
parentfb186e6299f9e26f0011c9623f10adcf8eadb304 (diff)
Improved "make manual" and "make clean"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 0458b70c..f49d0bf9 100644
--- a/Makefile
+++ b/Makefile
@@ -146,15 +146,17 @@ install: $(TARGETS) $(EXTRA_TARGETS)
$(INSTALL_SUDO) mkdir -p $(DESTDIR)/share/yosys
$(INSTALL_SUDO) cp -r share/. $(DESTDIR)/share/yosys/.
-manual:
+manual: $(TARGETS) $(EXTRA_TARGETS)
+ cd manual && bash appnotes.sh
+ cd manual && bash presentation.sh
cd manual && bash manual.sh
clean:
- rm -rf share
- rm -f $(OBJS) $(GENFILES) $(TARGETS)
- rm -f kernel/version_*.o kernel/version_*.cc abc/abc-[0-9a-f]*
- rm -f libs/*/*.d frontends/*/*.d passes/*/*.d backends/*/*.d kernel/*.d
- cd manual && rm -f *.aux *.bbl *.blg *.idx *.log *.out *.pdf *.toc *.ok
+ rm -rvf share
+ cd manual && bash clean.sh
+ rm -vf $(OBJS) $(GENFILES) $(TARGETS)
+ rm -vf kernel/version_*.o kernel/version_*.cc abc/abc-[0-9a-f]*
+ rm -vf libs/*/*.d frontends/*/*.d passes/*/*.d backends/*/*.d kernel/*.d
test ! -f libs/svgviewer/Makefile || make -C libs/svgviewer distclean
mrproper: clean