commander-s/Makefile

81 lines
2.8 KiB
Makefile
Raw Normal View History

2005-10-04 09:38:24 -04:00
scheme_DATA = \
scheme/afs.scm \
scheme/browse-directory-list.scm \
scheme/cmdline.scm \
2006-04-05 03:49:14 -04:00
scheme/command-buffer.scm \
scheme/comp-cmd.scm \
2005-10-04 09:38:24 -04:00
scheme/complete-util.scm \
scheme/complete.scm \
scheme/completer.scm \
scheme/config.scm \
scheme/console.scm \
scheme/debug-packages.scm \
scheme/eval-environment.scm \
scheme/eval.scm \
scheme/focus.scm \
scheme/fs-object.scm \
2006-04-05 03:49:14 -04:00
scheme/filter-window.scm \
2005-10-04 09:38:24 -04:00
scheme/handle-fatal-error.scm \
scheme/history.scm \
scheme/inspector.scm \
scheme/job-viewer.scm \
scheme/job.scm \
scheme/layout.scm \
scheme/modal-window.scm \
scheme/network-viewer.scm \
scheme/nuit-engine.scm \
scheme/nuit-packages.scm \
scheme/objects.scm \
scheme/plugins.scm \
scheme/process.scm \
scheme/scheme-commands.scm \
scheme/select-element.scm \
scheme/select-line.scm \
scheme/select-list.scm \
scheme/std-command.scm \
scheme/std-viewer.scm \
scheme/termbuf.scm \
scheme/tty-debug.scm \
scheme/user-group-info.scm \
scheme/utils.scm \
scheme/win.scm \
install_DATA = \
2006-04-05 03:49:14 -04:00
install.scm
2005-10-04 09:38:24 -04:00
doc_DATA = \
2006-06-01 11:33:36 -04:00
doc/man.pdf doc/html/*.html doc/html/*.css
2005-10-04 09:38:24 -04:00
2006-04-05 03:49:14 -04:00
DATA = $(scheme_DATA) $(install_DATA) $(doc_DATA)
2005-10-04 09:38:24 -04:00
DIST_COMMON = README AUTHORS COPYING NEWS
DISTFILES = $(DATA) $(DIST_COMMON)
.PHONY = dist
distdir= /tmp
2006-04-18 11:51:20 -04:00
distname = commander-s-0.2
2005-10-04 09:38:24 -04:00
distfile=$(distdir)/$(distname).tar.gz
dist:
distname=$(distname) && \
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
publish: dist
2006-04-05 03:49:14 -04:00
cp $(distfile) /afs/wsi/home/scsh/ftp/pub/scsh/packages/commander-s