Commit 03850a8b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Fixed target 'dist'

parent 12be2cbb
# $Id: Makefile.src,v 1.15 1994/04/05 07:50:34 ceder Exp $
# $Id: Makefile.src,v 1.16 1994/04/05 21:17:09 ceder Exp $
# Copyright (C) 1991, 1993, 1994 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -89,6 +89,7 @@ dist: $(srcdir)/configure
cp $(srcdir)/doc/$$i lyskom-$(SERVER-VER)/doc/$i||exit 1;\
done
cp -r $(srcdir)/doc/man lyskom-$(SERVER-VER)/doc/man
$(RM) -r lyskom-$(SERVER-VER)/doc/man/man?
for i in mkmi.m4 Makefile.src Makefile.in mkinstalldirs; do\
cp $(srcdir)/scripts/$$i lyskom-$(SERVER-VER)/scripts/||exit 1; \
done
......@@ -108,7 +109,7 @@ dist: $(srcdir)/configure
find lyskom-$(SERVER-VER) \
\( -name CVS -o -name '*~' -o -name '#*#' -o -name 'lib*.a' \
-o -name '*.o' -o -name '.#*' -o -name core \
-o -name Makefile.in2 -o -name 'stamp-*' \) \
-o -name Makefile.in2 -o -name 'stamp-*' -o -name 'TAGS' \) \
-print -exec rm -rf "{}" \; -prune
tar cvf lyskom-$(SERVER-VER).tar lyskom-$(SERVER-VER)
$(RM) lyskom-$(SERVER-VER).tar.gz
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment