1 .PHONY
: all lisp autoloads examples experimental doc
clean realclean distclean fullclean install-info install-bin
install test dist release debbuild debrevision debrelease upload
2 .PRECIOUS
: %.
info %.html
6 SUBDIRS
= lisp examples experimental
14 (cd lisp
&& $(MAKE
) autoloads
)
17 (cd examples
&& $(MAKE
))
20 (cd experimental
&& $(MAKE
))
26 makeinfo --html
--no-split
$<
28 doc
: muse.
info muse.html
31 for i in
$(SUBDIRS
); do \
32 (cd
$$i && $(MAKE
) clean); done
34 realclean fullclean
: clean
35 -rm -f muse.
info muse.html
36 for i in
$(SUBDIRS
); do \
37 (cd
$$i && $(MAKE
) distclean); done
39 install-info
: muse.
info
40 [ -d
$(INFODIR
) ] ||
install -d
$(INFODIR
)
41 install -m
0644 muse.
info $(INFODIR
)/muse
42 $(INSTALLINFO
) $(INFODIR
)/muse
45 (cd lisp
&& $(MAKE
) install)
47 install: install-bin install-info
50 (cd lisp
&& $(MAKE
) test)
53 -rm -fr ..
/muse-
$(VERSION
)
56 tla inventory
-sB |
tar -cf
- --no-recursion
-T- | \
57 (mkdir
-p ..
/muse-
$(VERSION
); cd ..
/muse-
$(VERSION
) && \
59 rm -fr ..
/muse-
$(VERSION
)/debian
62 (cd ..
&& tar -czf muse-
$(VERSION
).
tar.gz muse-
$(VERSION
) ; \
63 zip
-r muse-
$(VERSION
).zip muse-
$(VERSION
))
66 (cd ..
/muse-el-
$(VERSION
) && \
67 dpkg-buildpackage
-v
$(LASTUPLOAD
) $(BUILDOPTS
) \
68 -us
-uc
-rfakeroot
&& \
69 echo
"Running lintian ..." && \
70 lintian
-i ..
/muse-el_
$(VERSION
)*.deb ||
: && \
71 echo
"Done running lintian." && \
73 cp ..
/muse-el_
$(VERSION
)* ..
/..
/dist
76 -rm -f ..
/..
/dist/muse-el_
*
77 -rm -f ..
/muse-el_
$(VERSION
)-*
78 -rm -fr ..
/muse-el-
$(VERSION
)
79 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
80 cp
-r debian ..
/muse-el-
$(VERSION
)
81 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
85 -rm -f ..
/..
/dist/muse-el_
*
86 -rm -f ..
/muse-el_
$(VERSION
)*
87 -rm -fr ..
/muse-el-
$(VERSION
)
88 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
89 (cd ..
&& tar -czf muse-el_
$(VERSION
).orig.
tar.gz muse-el-
$(VERSION
))
90 cp
-r debian ..
/muse-el-
$(VERSION
)
91 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
95 (cd ..
&& gpg
--detach muse-
$(VERSION
).
tar.gz
&& \
96 gpg
--detach muse-
$(VERSION
).zip
&& \
97 scp muse-
$(VERSION
).zip
* muse-
$(VERSION
).
tar.gz
* \
98 mwolson@download.gna.org
:/upload
/muse-el
)