1 .PHONY
: all lisp examples experimental doc
clean realclean distclean fullclean
install test dist release debclean debrelease upload
2 .PRECIOUS
: %.
info %.html
6 SUBDIRS
= lisp examples experimental
14 (cd examples
&& $(MAKE
))
17 (cd experimental
&& $(MAKE
))
23 makeinfo --html
--no-split
$<
25 doc
: muse.
info muse.html
28 for i in
$(SUBDIRS
); do \
29 (cd
$$i && $(MAKE
) clean); done
31 realclean fullclean
: clean
32 -rm -f muse.
info muse.html
33 for i in
$(SUBDIRS
); do \
34 (cd
$$i && $(MAKE
) distclean); done
36 install: lisp muse.
info
37 (cd lisp
&& $(MAKE
) install)
39 install -m
0644 muse.
info $(INFODIR
)/muse
40 $(INSTALLINFO
) $(INFODIR
)/muse
43 (cd lisp
&& $(MAKE
) test)
46 -rm -f debian
/dirs debian
/files
47 test -d ..
/muse-
$(VERSION
) && rm -r ..
/muse-
$(VERSION
) ||
:
50 tla inventory
-sB |
tar -cf
- --no-recursion
-T- | \
51 (mkdir
-p ..
/muse-
$(VERSION
); cd ..
/muse-
$(VERSION
) && \
53 rm -fr ..
/muse-
$(VERSION
)/debian
56 (cd ..
&& tar -czf muse-
$(VERSION
).
tar.gz muse-
$(VERSION
) ; \
57 zip
-r muse-
$(VERSION
).zip muse-
$(VERSION
))
60 (cd ..
/..
/dist && rm -f muse-el_
*)
61 (cd ..
&& rm muse-el_
$(VERSION
)*)
63 debrelease
: dist debclean
64 test -d ..
/muse-el-
$(VERSION
) && rm -fr ..
/muse-el-
$(VERSION
) ||
:
65 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
66 (cd ..
&& tar -czf muse-el_
$(VERSION
).orig.
tar.gz muse-el-
$(VERSION
))
67 cp
-r debian ..
/muse-el-
$(VERSION
)
68 rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
69 (cd ..
/muse-el-
$(VERSION
) && debuild
-rfakeroot
)
70 cp ..
/muse-el_
$(VERSION
)* ..
/..
/dist
73 (cd ..
&& gpg
--detach muse-
$(VERSION
).
tar.gz
&& \
74 gpg
--detach muse-
$(VERSION
).zip
&& \
75 scp muse-
$(VERSION
).zip
* muse-
$(VERSION
).
tar.gz
* \
76 mwolson@download.gna.org
:/upload
/muse-el
)