mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-01-08 03:29:55 +00:00
add website building to Makefile
This commit is contained in:
parent
1b5599b5b1
commit
c6c06228db
@ -23,3 +23,11 @@ package: $(NAME).spec dist
|
||||
echo "%_topdir $(RPM)" >>$(RPM)/.rpmmacros
|
||||
HOME=$(RPM) rpmbuild -ba --clean --buildroot $(RPM)/BUILDROOT $<
|
||||
fakeroot alien $(RPM)/RPMS/$(ARCH)/$(NAME)-$(VERSION)-1.$(ARCH).rpm
|
||||
|
||||
.PHONY: site doc
|
||||
|
||||
site: doc
|
||||
|
||||
doc:
|
||||
$(MAKE) -C $@ all
|
||||
$(MAKE) -C $@ site
|
||||
|
11
doc/Makefile
11
doc/Makefile
@ -12,10 +12,9 @@ index.html : *.asciidoc
|
||||
clean :
|
||||
rm -f index.html
|
||||
|
||||
install :
|
||||
mkdir -p deploy
|
||||
cp *.html *.png *.gif deploy
|
||||
cp -R callouts deploy
|
||||
.PHONY: site
|
||||
|
||||
uninstall :
|
||||
rm -Rf deploy
|
||||
site :
|
||||
mkdir -p site
|
||||
cp *.html *.png *.gif site
|
||||
cp -R callouts site
|
||||
|
Loading…
Reference in New Issue
Block a user