mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-01-24 15:30:09 +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
|
echo "%_topdir $(RPM)" >>$(RPM)/.rpmmacros
|
||||||
HOME=$(RPM) rpmbuild -ba --clean --buildroot $(RPM)/BUILDROOT $<
|
HOME=$(RPM) rpmbuild -ba --clean --buildroot $(RPM)/BUILDROOT $<
|
||||||
fakeroot alien $(RPM)/RPMS/$(ARCH)/$(NAME)-$(VERSION)-1.$(ARCH).rpm
|
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 :
|
clean :
|
||||||
rm -f index.html
|
rm -f index.html
|
||||||
|
|
||||||
install :
|
.PHONY: site
|
||||||
mkdir -p deploy
|
|
||||||
cp *.html *.png *.gif deploy
|
|
||||||
cp -R callouts deploy
|
|
||||||
|
|
||||||
uninstall :
|
site :
|
||||||
rm -Rf deploy
|
mkdir -p site
|
||||||
|
cp *.html *.png *.gif site
|
||||||
|
cp -R callouts site
|
||||||
|
Loading…
x
Reference in New Issue
Block a user