Commit d680138d authored by Linus Tolke's avatar Linus Tolke
Browse files

Lagt till distclean.

parent a2b376d3
......@@ -14,4 +14,7 @@ binaries:;
clean:
$(RM) $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
depend:;
# $Id: balance-defs.make,v 1.3 1991/09/08 21:09:06 ceder Exp $
# $Id: balance-defs.make,v 1.4 1991/09/13 21:45:23 linus Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
......@@ -39,8 +39,9 @@ LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a dependencies core TAGS temp-Makefile \
temp-?-Makefile Topdir.make
GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS =
......
# $Id: sun4os4-defs.make,v 1.4 1991/09/13 20:22:19 ceder Exp $
# $Id: sun4os4-defs.make,v 1.5 1991/09/13 21:45:19 linus Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
......@@ -40,8 +40,9 @@ LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a dependencies core TAGS temp-Makefile \
temp-?-Makefile Topdir.make
GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS =
......
......@@ -17,6 +17,14 @@ clean:
(cd man$$i; $(RM) *~ core) } \
done
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
-for i in $(MANEXTS); \
do \
[ -d man$$i ] && { echo making clean in directory man$$i; \
(cd man$$i; $(RM) *.ps *.cat *.man *.txt) } \
done
install:
for i in $(MANEXTS); \
do \
......
......@@ -13,3 +13,6 @@ binaries:;
clean:
$(RM) $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
......@@ -6,3 +6,11 @@ clean:
[ -d $$i ] && { echo making clean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) clean) } \
done
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
-for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making distclean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) distclean) } \
done
......@@ -35,4 +35,12 @@ clean:
(cd $$i; $(MAKE) $(EXPORTS) clean); } \
done
depend:;
\ No newline at end of file
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making distclean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) distclean); } \
done
depend:;
......@@ -25,6 +25,9 @@ binaries:;
clean:
$(RM) ${LIBOBJS} $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
# Recreate the Makefile
include $(SCRIPTDIR)/Single-depend.make
......
......@@ -43,6 +43,9 @@ liblyskom-client.a: client-dir
clean:
$(RM) $(GENERIC-CLEAN) $(LIBRARIES)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
$(RM) -r client-dir server-dir
libraries: includes all
......
......@@ -33,6 +33,9 @@ testnumlist: testnumlist.o numlist.o
clean:
$(RM) ${OBJECTS} $(GENERIC-CLEAN) Distfile testnumlist
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
# Recreate the Makefile
include $(SCRIPTDIR)/Single-depend.make
......
# $Id: Makefile,v 0.12 1991/09/08 21:08:47 ceder Exp $
# $Id: Makefile,v 0.13 1991/09/13 21:45:06 linus Exp $
include Topdir.make
SCRIPTDIR = $(TOPDIR)/scripts
......@@ -114,7 +114,10 @@ install: $(PROGRAMS)
# Don't strip ramkomd - we want debugging info!
clean:
$(RM) $(GENERIC-CLEAN) $(PROGRAMS) $(SPECIALS)
$(RM) $(GENERIC-CLEAN) $(PROGRAMS)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN) $(SPECIALS)
specials: $(SPECIALS)
......
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