1 .PHONY
: all lisp contrib 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 contrib examples experimental
8 all: autoloads lisp contrib muse.
info
14 (cd contrib
&& $(MAKE
))
17 (cd lisp
&& $(MAKE
) autoloads
)
20 (cd examples
&& $(MAKE
))
23 (cd experimental
&& $(MAKE
))
29 makeinfo --html
--no-split
$<
31 doc
: muse.
info muse.html
34 for i in
$(SUBDIRS
); do \
35 (cd
$$i && $(MAKE
) clean); done
37 realclean fullclean
: clean
38 -rm -f muse.
info muse.html
39 for i in
$(SUBDIRS
); do \
40 (cd
$$i && $(MAKE
) distclean); done
42 install-info
: muse.
info
43 [ -d
$(INFODIR
) ] ||
install -d
$(INFODIR
)
44 install -m
0644 muse.
info $(INFODIR
)/muse
45 $(INSTALLINFO
) $(INFODIR
)/muse
47 install-bin
: lisp contrib
48 (cd lisp
&& $(MAKE
) install)
49 (cd contrib
&& $(MAKE
) install)
50 (cd experimental
&& $(MAKE
) install-uncompiled
)
52 install: install-bin install-info
55 (cd lisp
&& $(MAKE
) test)
58 -rm -fr ..
/muse-
$(VERSION
)
61 tla inventory
-sB |
tar -cf
- --no-recursion
-T- | \
62 (mkdir
-p ..
/muse-
$(VERSION
); cd ..
/muse-
$(VERSION
) && \
64 rm -fr ..
/muse-
$(VERSION
)/debian
67 (cd ..
&& tar -czf muse-
$(VERSION
).
tar.gz muse-
$(VERSION
) ; \
68 zip
-r muse-
$(VERSION
).zip muse-
$(VERSION
) && \
69 gpg
--detach muse-
$(VERSION
).
tar.gz
&& \
70 gpg
--detach muse-
$(VERSION
).zip
)
73 (cd ..
/muse-el-
$(VERSION
) && \
74 dpkg-buildpackage
-v
$(LASTUPLOAD
) $(BUILDOPTS
) \
75 -us
-uc
-rfakeroot
&& \
76 echo
"Running lintian ..." && \
77 lintian
-i ..
/muse-el_
$(VERSION
)*.deb ||
: && \
78 echo
"Done running lintian." && \
80 cp ..
/muse-el_
$(VERSION
)* ..
/..
/dist
83 -rm -f ..
/..
/dist/muse-el_
*
84 -rm -f ..
/muse-el_
$(VERSION
)-*
85 -rm -fr ..
/muse-el-
$(VERSION
)
86 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
87 cp
-r debian ..
/muse-el-
$(VERSION
)
88 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
92 -rm -f ..
/..
/dist/muse-el_
*
93 -rm -f ..
/muse-el_
$(VERSION
)*
94 -rm -fr ..
/muse-el-
$(VERSION
)
95 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
96 (cd ..
&& tar -czf muse-el_
$(VERSION
).orig.
tar.gz muse-el-
$(VERSION
))
97 cp
-r debian ..
/muse-el-
$(VERSION
)
98 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
102 (cd ..
&& scp muse-
$(VERSION
).zip
* muse-
$(VERSION
).
tar.gz
* \
103 mwolson@download.gna.org
:/upload
/muse-el
)