summaryrefslogtreecommitdiff
path: root/Makefile
blob: d4eab9bebaedf535b48527c1ba6e6775152eaff9 (plain)
  1. SRCDIR ?= .
  2. STATICSRCDIR ?= $(SRCDIR)
  3. BUILDDIR ?= $(SRCDIR)
  4. DESTDIR ?= /home/arrrgh/public_html
  5. remotehost ?= example.org
  6. # Pull title, author and creationdate from this Markdown file
  7. metahintfile = $(SRCDIR)/chap0.mdwn)
  8. s5opts = -i
  9. # source docs
  10. s5file = $(SRCDIR)/ezgo.mdwn
  11. reportfiles = $(filter-out $(s5file), $(mdwnfiles))
  12. #reportfiles = $(patsubst %,$(SRCDIR)/chap%.mdwn,0 1 2 2a 2b 3 4 5)
  13. s5 = $(BUILDDIR)/index.html
  14. htmlreports = $(reportfiles:$(SRCDIR)/%.mdwn=$(BUILDDIR)/%.html)
  15. #htmlreports = $(BUILDDIR)/report.html
  16. #pdfreports = $(BUILDDIR)/report.pdf
  17. #extrafiles += $(patsubst %,$(BUILDDIR)/%.pdf,deps pkgdeps)
  18. #htmlcopyfiles = $(BUILDDIR)/map.png
  19. #pdfcopyfiles = $(BUILDDIR)/map.pdf
  20. #javacopyfiles = $(patsubst %,$(BUILDDIR)/map/%,freemindbrowser.jar index.html map.mm IBIS_MemberDB.zip)
  21. all: $(s5) $(htmlreports) $(pdfreports) $(javacopyfiles) $(extrafiles)
  22. install: all
  23. for f in $(installfiles:$(BUILDDIR)/%=%); do \
  24. install -d $(DESTDIR)/`dirname $$f`; \
  25. install -p -m u=rw,go=r,a-s -t $(DESTDIR)/`dirname $$f` $(BUILDDIR)/$$f; \
  26. done
  27. uninstall:
  28. rm -f $(installfiles:$(BUILDDIR)/%=$(DESTDIR)/%)
  29. clean:
  30. rm -f $(copyfiles) $(genfiles) $(filter-out $(maybecopyfiles),$(installfiles) $(noinstallfiles))
  31. rm -f $(pdfreports:=~)
  32. sync: install
  33. rsync -avH $(DESTDIR)/ $(remotehost):$(DESTDIR)/
  34. include make/pandoc.mk
diffstat' width='0%'> -rw-r--r--tags/88/11/20191109050002.5CB701CDC03@lxp5.free-owl.de/unread0
-rw-r--r--tags/88/11/20201218114117.16697.35060@server.kojevnikov.com/unread0
-rw-r--r--tags/88/11/20230127074500-0.1.1j.45ni.0.1cm6q90oxv@lumsdenvi.com/debian0
-rw-r--r--tags/88/11/20230127074500-0.1.1j.45ni.0.1cm6q90oxv@lumsdenvi.com/inbox0
-rw-r--r--tags/88/11/20230127074500-0.1.1j.45ni.0.1cm6q90oxv@lumsdenvi.com/killed0
-rw-r--r--tags/88/11/20230127074500-0.1.1j.45ni.0.1cm6q90oxv@lumsdenvi.com/unread0
-rw-r--r--tags/88/11/B5B6D0C3.DE5%25ronald@jones.dk/inbox0
-rw-r--r--tags/88/11/B5B6D0C3.DE5%25ronald@jones.dk/old0
-rw-r--r--tags/88/11/CADf7C8swAxDp_VXpswSVOe-chy++PxLOHJOKGN+wd-0ZF6XQMg@mail.gmail.com/inbox0
-rw-r--r--tags/88/11/CADf7C8swAxDp_VXpswSVOe-chy++PxLOHJOKGN+wd-0ZF6XQMg@mail.gmail.com/old0
-rw-r--r--tags/88/11/CADf7C8swAxDp_VXpswSVOe-chy++PxLOHJOKGN+wd-0ZF6XQMg@mail.gmail.com/sugar0
-rw-r--r--tags/88/11/Kozea%2fRadicale%2fpull%2f1126%2fpush%2f6264064762@github.com/unread0
-rw-r--r--tags/88/11/Pine.LNX.4.33.0112031529460.2541-100000@auryn.jones.dk/sent0
23 files changed, 0 insertions, 0 deletions