[Tokyodebian-commits] TokyoDebian CVS update: muse Makefile
tokyodebian CVS Commit
tokyodebian-commits at lists.alioth.debian.org
Thu Feb 1 05:14:17 CET 2007
User: nori1-guest
Date: 07/02/01 05:14:17
Modified: . Makefile
Log:
* Makefile: Correct mistakes in handling wildcard. The old Makefile could
not build HTML files if they did not exist.
Revision Changes Path
1.14 +5 -2 muse/Makefile
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/tokyodebian/muse/Makefile?annotate=1.14&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/tokyodebian/muse/Makefile?rev=1.14&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/tokyodebian/muse/Makefile.diff?r1=1.14&r2=1.13&cvsroot=
-----------------------------------
Index: Makefile
===================================================================
RCS file: /cvsroot/tokyodebian/muse/Makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Makefile 9 Dec 2006 05:29:26 -0000 1.13
+++ Makefile 1 Feb 2007 04:14:17 -0000 1.14
@@ -1,11 +1,14 @@
# makefile to publish webpage
-all: html/*.html
+MUSE_FILES = $(wildcard *.muse)
+HTML_FILES = $(MUSE_FILES:%.muse=html/%.html)
+
+all: $(HTML_FILES)
html/%.html: %.muse
umask 002; emacs -batch -l muse-config.el -eval '(muse-project-publish "Debian-study")'
-publish: html/*.html html/*.css
+publish: $(HTML_FILES) html/*.css
cvs ci -m 'update with publish'
-fusermount -u ../aliothweb
[ ! -f ../aliothweb/mountpoint ] || sshfs -o nonempty,umask=002 alioth.debian.org:/var/lib/gforge/chroot/home/groups/tokyodebian/htdocs ../aliothweb
More information about the Tokyodebian-commits
mailing list