From 7158621a507c9500c3d4ada3a8b62f8f9a359e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 8 Feb 1998 23:23:41 +0100 Subject: [PATCH] Improved lib target. Rev: src/Makefile.in:1.55 --- src/Makefile.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 42426cabfa..a6018b8c3a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -241,11 +241,9 @@ feature_list: lib: $(LIBDIR_SRC) $(LIBDIR_SRC)/master.pike $(LIBDIR_SRC)/modules $(LIBDIR_SRC)/include cp -r $(LIBDIR_SRC) . - -rm -r `find lib -type d -name CVS` - -rm `find lib -type f -name '*~'` - -rm `find lib -type f -name '.#*'` - -rm `find lib -type f -name '#*#'` - -touch ./lib + -cvs_dirs="`find lib -type d -name CVS`"; if test "x$cvs_dirs" = "x" ; then : ; else rm -r $cvs_dirs; fi + -files="`find lib -type f -name '*~'` `find lib -type f -name '.#*'` `find lib -type f -name '#*#'`"; if test "x$files" = "x" ; then : ; else rm $files; fi + -touch ./lib 2>/dev/null || (touch lib/.broken_gnu_touch && rm lib/.broken_gnu_touch) # make export archive (requires compiled Pike) # Do not compile in source tree if you want to use this! -- GitLab