aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-04-01 18:03:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-04-01 18:03:00 +0000
commita3f190996829a77d75e3bb030efcef79f08a6fc6 (patch)
tree71505fe06b9bea36685d97ca6d7c2abde48dc57b
parentab304cef4912461160100f2c79ee0c121f1b0fd2 (diff)
Makefile: Update .PHONY, add .PRECIOUS line for generated files, add rule for creating HTML version of documentation.
darcs-hash:20060401180331-1bfb2-44d539a5c9152d23c80c2107bebb5c67cccebee5.gz
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0017e0b..397a322 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@ TARGET=$(patsubst %.el,%.elc,$(SOURCE))
DESTDIR=/usr/share/emacs/site-lisp/emms
INSTALLINFO=/usr/sbin/install-info
-.PHONY: all install clean
+.PHONY: all install deb-install clean
+.PRECIOUS: %.elc %.info %.html
all: $(TARGET) emms-auto.el emms.info
emms-auto.el: emms-auto.in $(SOURCE)
@@ -27,6 +28,9 @@ emms-auto.el: emms-auto.in $(SOURCE)
%.info: %.texinfo
makeinfo $<
+%.html: %.texi
+ makeinfo --html --no-split $<
+
emms-print-metadata: emms-print-metadata.c
$(CC) -o $@ $< -I/usr/include/taglib -L/usr/lib -ltag_c