1 .PHONY
: all lisp contrib autoloads examples experimental doc info-only
2 .PHONY
: clean realclean distclean fullclean install-info install-bin
install
3 .PHONY
: test dist release debbuild debrevision debrelease upload
7 SUBDIRS
= lisp contrib examples experimental texi
9 all: autoloads lisp contrib info-only
15 (cd contrib
&& $(MAKE
))
18 (cd lisp
&& $(MAKE
) autoloads
)
21 (cd examples
&& $(MAKE
))
24 (cd experimental
&& $(MAKE
))
27 (cd texi
&& $(MAKE
) info-only
)
33 for i in
$(SUBDIRS
); do \
34 (cd
$$i && $(MAKE
) clean); done
36 realclean fullclean
: clean
37 for i in
$(SUBDIRS
); do \
38 (cd
$$i && $(MAKE
) realclean); done
40 install-info
: $(MANUAL
).
info
41 (cd texi
&& $(MAKE
) install)
43 install-bin
: autoloads lisp contrib
44 (cd lisp
&& $(MAKE
) install)
45 (cd contrib
&& $(MAKE
) install)
46 (cd experimental
&& $(MAKE
) install-uncompiled
)
48 install: install-bin install-info
51 (cd lisp
&& $(MAKE
) test)
54 for i in
$(SUBDIRS
); do \
55 (cd
$$i && $(MAKE
) distclean); done
56 -rm -fr ..
/$(PROJECT
)-$(VERSION
)
58 dist: autoloads
distclean
59 tla inventory
-sB |
tar -cf
- --no-recursion
-T- | \
60 (mkdir
-p ..
/$(PROJECT
)-$(VERSION
); cd ..
/$(PROJECT
)-$(VERSION
) && \
62 cp lisp
/$(PROJECT
)-autoloads.el ..
/$(PROJECT
)-$(VERSION
)/lisp
63 rm -fr ..
/$(PROJECT
)-$(VERSION
)/debian
66 (cd ..
&& tar -czf
$(PROJECT
)-$(VERSION
).
tar.gz \
67 $(PROJECT
)-$(VERSION
) ; \
68 zip
-r
$(PROJECT
)-$(VERSION
).zip
$(PROJECT
)-$(VERSION
) && \
69 gpg
--detach
$(PROJECT
)-$(VERSION
).
tar.gz
&& \
70 gpg
--detach
$(PROJECT
)-$(VERSION
).zip
)
73 (cd ..
/$(DEBNAME
)-$(VERSION
) && \
74 dpkg-buildpackage
-v
$(LASTUPLOAD
) $(BUILDOPTS
) \
75 -us
-uc
-rfakeroot
&& \
76 echo
"Running lintian ..." && \
77 lintian
-i ..
/$(DEBNAME
)_
$(VERSION
)*.deb ||
: && \
78 echo
"Done running lintian." && \
80 cp ..
/$(DEBNAME
)_
$(VERSION
)* ..
/..
/dist/$(DISTRIBUTOR
)
83 -rm -f ..
/..
/dist/$(DISTRIBUTOR
)/$(DEBNAME
)_
*
84 -rm -fr ..
/$(DEBNAME
)-$(VERSION
)
86 debrevision
: debclean
dist
87 -rm -f ..
/$(DEBNAME
)_
$(VERSION
)-*
88 mv ..
/$(PROJECT
)-$(VERSION
) ..
/$(DEBNAME
)-$(VERSION
)
89 cp
-r debian ..
/$(DEBNAME
)-$(VERSION
)
90 -rm -fr ..
/$(DEBNAME
)-$(VERSION
)/debian
/.arch-ids
93 debrelease
: debclean
dist
94 -rm -f ..
/$(DEBNAME
)_
$(VERSION
)*
95 mv ..
/$(PROJECT
)-$(VERSION
) ..
/$(DEBNAME
)-$(VERSION
)
96 (cd ..
&& tar -czf
$(DEBNAME
)_
$(VERSION
).orig.
tar.gz \
97 $(DEBNAME
)-$(VERSION
))
98 cp
-r debian ..
/$(DEBNAME
)-$(VERSION
)
99 -rm -fr ..
/$(DEBNAME
)-$(VERSION
)/debian
/.arch-ids
104 scp
$(PROJECT
)-$(VERSION
).zip
* $(PROJECT
)-$(VERSION
).
tar.gz
* \
105 mwolson@download.gna.org
:/upload
/muse-el
)