Skip to content
Browse files

add website building to Makefile

  • Loading branch information...
1 parent 1b5599b commit c6c06228db40814cef1c72af1d64da92fac82192 @cmosher01 committed Jun 3, 2012
Showing with 13 additions and 6 deletions.
  1. +8 −0 Makefile.am
  2. +5 −6 doc/Makefile
View
8 Makefile.am
@@ -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
View
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

0 comments on commit c6c0622

Please sign in to comment.
Something went wrong with that request. Please try again.