* [patch] make make clean remove a few more files
@ 2005-02-15 20:05 Jacob Gorm Hansen
2005-02-15 23:46 ` Jacob Gorm Hansen
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Gorm Hansen @ 2005-02-15 20:05 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 50 bytes --]
attached patch should be self-explanatory.
Jacob
[-- Attachment #2: makeclean.patch --]
[-- Type: text/plain, Size: 1604 bytes --]
--- orig/Makefile
+++ mod/Makefile
@@ -38,7 +38,7 @@
install: install-xen install-tools install-kernels install-docs
# build and install everything into local dist directory
-dist: xen tools kernels docs
+dist: xen tools docs
$(INSTALL_DIR) $(DISTDIR)/check
$(INSTALL_DATA) ./COPYING $(DISTDIR)
$(INSTALL_DATA) ./README $(DISTDIR)
--- orig/tools/Makefile
+++ mod/tools/Makefile
@@ -25,6 +25,7 @@
$(MAKE) -C ioemu install
clean:
+ $(MAKE) -C check clean
$(MAKE) -C libxutil clean
$(MAKE) -C libxc clean
$(MAKE) -C misc clean
--- orig/tools/xcs/Makefile
+++ mod/tools/xcs/Makefile
@@ -31,7 +31,7 @@
all: $(BIN) xcsdump
clean:
- $(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump
+ $(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump xcsdump
xcsdump: xcsdump.c
$(CC) $(CFLAGS) -o xcsdump xcsdump.c -L$(XEN_LIBXC) -L$(XEN_LIBXUTIL) \
--- orig/xen/Makefile
+++ mod/xen/Makefile
@@ -42,7 +42,7 @@
$(MAKE) -C common clean
$(MAKE) -C drivers clean
$(MAKE) -C arch/$(TARGET_ARCH) clean
- rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h
+ rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h include/xen/banner.h
rm -f include/asm-*/asm-offsets.h
rm -f tools/figlet/*.o tools/figlet/figlet
@@ -85,7 +85,7 @@
tools/figlet/figlet -d tools/figlet Xen $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION) > $@.new
@mv -f $@.new $@
-include/asm-$(TARGET_ARCH)/asm-offsets.h: arch/$(TARGET_ARCH)/asm-offsets.s
+include/asm-$(TARGET_ARCH)/asm-offsets.h: arch/$(TARGET_ARCH)/asm-offsets.s $(HDRS)
@(set -e; \
echo "/*"; \
echo " * DO NOT MODIFY."; \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] make make clean remove a few more files
2005-02-15 20:05 [patch] make make clean remove a few more files Jacob Gorm Hansen
@ 2005-02-15 23:46 ` Jacob Gorm Hansen
0 siblings, 0 replies; 2+ messages in thread
From: Jacob Gorm Hansen @ 2005-02-15 23:46 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: xen-devel
[-- Attachment #1: Type: text/plain, Size: 81 bytes --]
oops, the last part was unrelated to this change -- new version attached.
Jacob
[-- Attachment #2: makeclean.patch --]
[-- Type: text/plain, Size: 1234 bytes --]
--- orig/Makefile
+++ mod/Makefile
@@ -38,7 +38,7 @@
install: install-xen install-tools install-kernels install-docs
# build and install everything into local dist directory
-dist: xen tools kernels docs
+dist: xen tools docs
$(INSTALL_DIR) $(DISTDIR)/check
$(INSTALL_DATA) ./COPYING $(DISTDIR)
$(INSTALL_DATA) ./README $(DISTDIR)
--- orig/tools/Makefile
+++ mod/tools/Makefile
@@ -25,6 +25,7 @@
$(MAKE) -C ioemu install
clean:
+ $(MAKE) -C check clean
$(MAKE) -C libxutil clean
$(MAKE) -C libxc clean
$(MAKE) -C misc clean
--- orig/tools/xcs/Makefile
+++ mod/tools/xcs/Makefile
@@ -31,7 +31,7 @@
all: $(BIN) xcsdump
clean:
- $(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump
+ $(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump xcsdump
xcsdump: xcsdump.c
$(CC) $(CFLAGS) -o xcsdump xcsdump.c -L$(XEN_LIBXC) -L$(XEN_LIBXUTIL) \
--- orig/xen/Makefile
+++ mod/xen/Makefile
@@ -42,7 +42,7 @@
$(MAKE) -C common clean
$(MAKE) -C drivers clean
$(MAKE) -C arch/$(TARGET_ARCH) clean
- rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h
+ rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h include/xen/banner.h
rm -f include/asm-*/asm-offsets.h
rm -f tools/figlet/*.o tools/figlet/figlet
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-15 23:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-15 20:05 [patch] make make clean remove a few more files Jacob Gorm Hansen
2005-02-15 23:46 ` Jacob Gorm Hansen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.