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
8 all: autoloads lisp muse.
info
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
) && \
64 gpg
--detach muse-
$(VERSION
).
tar.gz
&& \
65 gpg
--detach muse-
$(VERSION
).zip
)
68 (cd ..
/muse-el-
$(VERSION
) && \
69 dpkg-buildpackage
-v
$(LASTUPLOAD
) $(BUILDOPTS
) \
70 -us
-uc
-rfakeroot
&& \
71 echo
"Running lintian ..." && \
72 lintian
-i ..
/muse-el_
$(VERSION
)*.deb ||
: && \
73 echo
"Done running lintian." && \
75 cp ..
/muse-el_
$(VERSION
)* ..
/..
/dist
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 cp
-r debian ..
/muse-el-
$(VERSION
)
83 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
87 -rm -f ..
/..
/dist/muse-el_
*
88 -rm -f ..
/muse-el_
$(VERSION
)*
89 -rm -fr ..
/muse-el-
$(VERSION
)
90 mv ..
/muse-
$(VERSION
) ..
/muse-el-
$(VERSION
)
91 (cd ..
&& tar -czf muse-el_
$(VERSION
).orig.
tar.gz muse-el-
$(VERSION
))
92 cp
-r debian ..
/muse-el-
$(VERSION
)
93 -rm -fr ..
/muse-el-
$(VERSION
)/debian
/.arch-ids
97 (cd ..
&& scp muse-
$(VERSION
).zip
* muse-
$(VERSION
).
tar.gz
* \
98 mwolson@download.gna.org
:/upload
/muse-el
)