summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-01-19 10:44:49 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-01-19 10:44:49 +0000
commit530a16ec071db0e24e6e949e265a96848864967c (patch)
treefe40cacd28d67b98186754c551b7fd339ebc7e17 /Makefile
downloaddrakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar.gz
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar.bz2
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar.xz
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.zip
add mes5-2.6.33 branch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..79744281d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,31 @@
+include Makefile.config
+
+ROOTDEST = /export
+STAGE2_DEST = $(ROOTDEST)/install/stage2
+
+DIRS = tools images perl-install/install rescue
+
+.PHONY: dirs install
+
+install: dirs rescue install_only
+
+dirs:
+ @for n in $(DIRS); do $(MAKE) -C $$n all || exit 1 ; done
+
+install_only:
+ make -C images install ROOTDEST=$(ROOTDEST)
+ make -C tools install ROOTDEST=$(ROOTDEST)
+ make -C perl-install/install install ROOTDEST=$(ROOTDEST)
+ make -C rescue install STAGE2_DEST=$(STAGE2_DEST)
+ make -C advertising install ROOTDEST=$(ROOTDEST)
+
+ LC_ALL=C svn info ChangeLog | egrep '^Revision|^Last Changed Date' > $(STAGE2_DEST)/VERSION
+
+clean:
+# force taking new rpms from repository
+ rm -rf images/RPMS
+ for i in $(DIRS); do make -C $$i clean; done
+ find . -name "*~" -o -name ".#*" | xargs rm -f
+
+check:
+ $(MAKE) -C perl-install check