1 .PHONY
: all lisp examples experimental doc
clean realclean distclean fullclean
install test dist release debbuild debrevision 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 -fr ..
/muse-
$(VERSION
)
49 tla inventory
-sB |
tar -cf
- --no-recursion
-T- | \
50 (mkdir
-p ..
/muse-
$(VERSION
); cd ..
/muse-
$(VERSION
) && \
52 rm -fr ..
/muse-
$(VERSION
)/debian
55 (cd ..
&& tar -czf muse-
$(VERSION
).
tar.gz muse-
$(VERSION
) ; \
56 zip
-r muse-
$(VERSION
).zip muse-
$(VERSION
))
59 (cd ..
/muse-el-
$(VERSION
) && \
60 dpkg-buildpackage
-v
$(LASTUPLOAD
) $(BUILDOPTS
) \
61 -us
-uc
-rfakeroot
&& \
62 echo
"Running lintian ..." && \
63 lintian
-i ..
/muse-el_
$(VERSION
)*.deb ||
: && \
64 echo
"Done running lintian." && \
66 cp ..
/muse-el_
$(VERSION
)* ..
/..
/dist
69 -rm -f ..
/..
/dist/muse-el_
*
70 -rm -f ..
/muse-el_
$(VERSION
)-*
71 -rm -fr ..
/muse-el-
$(VERSION
)
72 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
73 cp
-r debian ..
/muse-el-
$(VERSION
)
74 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
78 -rm -f ..
/..
/dist/muse-el_
*
79 -rm -f ..
/muse-el_
$(VERSION
)*
80 -rm -fr ..
/muse-el-
$(VERSION
)
81 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
82 (cd ..
&& tar -czf muse-el_
$(VERSION
).orig.
tar.gz muse-el-
$(VERSION
))
83 cp
-r debian ..
/muse-el-
$(VERSION
)
84 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
88 (cd ..
&& gpg
--detach muse-
$(VERSION
).
tar.gz
&& \
89 gpg
--detach muse-
$(VERSION
).zip
&& \
90 scp muse-
$(VERSION
).zip
* muse-
$(VERSION
).
tar.gz
* \
91 mwolson@download.gna.org
:/upload
/muse-el
)