scheme_DATA = \ scheme/afs.scm \ scheme/browse-directory-list.scm \ scheme/cmdline.scm \ scheme/command-buffer.scm \ scheme/comp-cmd.scm \ 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 \ scheme/filter-window.scm \ 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 = \ install.scm doc_DATA = \ doc/man.pdf DATA = $(scheme_DATA) $(install_DATA) $(doc_DATA) DIST_COMMON = README AUTHORS COPYING NEWS DISTFILES = $(DATA) $(DIST_COMMON) .PHONY = dist distdir= /tmp distname = commander-s-0.2 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 cp $(distfile) /afs/wsi/home/scsh/ftp/pub/scsh/packages/commander-s