mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-28 04:46:31 +03:00
docs: update makefile
This commit is contained in:
parent
ebfc225eb2
commit
7c42280d4e
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
||||
# hledger project makefile
|
||||
|
||||
# optional features described in README, comment out if you don't have the libs
|
||||
# optional features described in MANUAL, comment out if you don't have the libs
|
||||
OPTFLAGS=-DHAPPS -DVTY
|
||||
|
||||
# command to run during "make ci"
|
||||
@ -23,7 +23,7 @@ VIEWHTMLCMD=open
|
||||
VIEWPSCMD=open
|
||||
|
||||
SOURCEFILES:=*hs Commands/*hs Ledger/*hs
|
||||
DOCFILES:=HOME HOME2 README NEWS CONTRIBUTORS SCREENSHOTS
|
||||
DOCFILES:=README README2 MANUAL NEWS CONTRIBUTORS SCREENSHOTS
|
||||
BINARYFILENAME=`runhaskell ./hledger.hs --binary-filename`
|
||||
PATCHLEVEL:=$(shell expr `darcs changes --count --from-tag=\\\\\.` - 1)
|
||||
WARNINGS:=-W -fwarn-tabs #-fwarn-orphans -fwarn-simple-patterns -fwarn-monomorphism-restriction -fwarn-name-shadowing
|
||||
@ -242,7 +242,7 @@ docs: web pdf api-docs
|
||||
# build the main hledger.org website
|
||||
web:
|
||||
for d in $(DOCFILES); do pandoc --toc -s -H website/header.html -A website/footer.html -r rst $$d >website/$$d.html; done
|
||||
cd website; rm -f index.html; ln -s HOME.html index.html; rm -f profs; ln -s ../profs
|
||||
cd website; rm -f index.html; ln -s README.html index.html; rm -f profs; ln -s ../profs
|
||||
|
||||
# ..from anywhere
|
||||
updatesite: push
|
||||
|
Loading…
Reference in New Issue
Block a user