orion-wm/Makefile

57 lines
1.9 KiB
Makefile
Raw Normal View History

scheme_DATA = \
src/button.scm \
src/file-name-completion.scm \
src/manager.scm \
src/move-wm.scm \
src/root-manager.scm \
src/titlebar.scm \
src/config.scm \
src/key-grab.scm \
src/move-wm-icon.scm \
src/packages.scm \
src/split-wm.scm \
src/utils.scm \
src/drag-window.scm \
src/main.scm \
src/move-wm-resizer.scm \
src/prompt.scm \
src/switch-wm.scm \
src/motif.scm \
src/main.scm
install_DATA = \
install.scm
doc_DATA = \
doc/user.html
DATA = $(scheme_DATA) $(install_DATA) $(doc_DATA)
2004-05-24 03:11:24 -04:00
DIST_COMMON = README AUTHORS COPYING NEWS
DISTFILES = $(DATA) $(DIST_COMMON)
.PHONY = dist
distdir= /tmp
distname = orion-0.2
dist:
distname=$(distname) && \
distfile=$(distdir)/$$distname.tar.gz && \
if [ -d $(distdir) ] && \
[ -w $$distfile -o -w $(distdir) ]; then \
rm -f $$distname && \
ln -s . $$distname && \
files='' && \
for i in $(DISTFILES); do \
if [ "$$i" != "c/sysdep.h" ]; then \
files="$$files $$distname/$$i"; \
fi \
done && \
tar -cf - $$files | \
gzip --best >$$distfile && \
rm $$distname; \
else \
echo "Can't write $$distfile" >&2; \
fi