diff options
author | Mystery Man <unknown@mandriva.org> | 2005-08-22 14:57:05 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-08-22 14:57:05 +0000 |
commit | c4c6eb3de2799d5544e9cc8703b0261c0a3350d6 (patch) | |
tree | b9f1a4c99ae89c4210c2c2848b16e66430b63700 /tools/Makefile | |
parent | a723a6e26fc5be438675cc29b636f0b61547ec32 (diff) | |
download | drakx-backup-do-not-use-10_3_0_48mdk.tar drakx-backup-do-not-use-10_3_0_48mdk.tar.gz drakx-backup-do-not-use-10_3_0_48mdk.tar.bz2 drakx-backup-do-not-use-10_3_0_48mdk.tar.xz drakx-backup-do-not-use-10_3_0_48mdk.zip |
This commit was manufactured by cvs2svn to create tagV10_3_0_48mdk
'V10_3_0_48mdk'.
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tools/Makefile b/tools/Makefile deleted file mode 100644 index 9c1290a1e..000000000 --- a/tools/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -include ../Makefile.config - -RPMS = $(wildcard $(MAIN_RPMS_DIR)/*.rpm) -DIRS = serial_probe -CFLAGS = -Wall - -ARCH := $(shell arch | egrep "(x86_64|sparc64|s390x)") -ifneq ("x$(ARCH)", "x") -LIB_NAME = lib64 -else -LIB_NAME = lib -endif - -.PHONY: clean install $(DIRS) - -all: $(DIRS) xhost+ rpcinfo-flushed install - -$(DIRS): - make -C $@ - -install: - @install -d $(MISC_DEST)/auto $(MISC_DEST)/Distribconf - @install mdkinst_stage2_tool $(MISC_DEST) - cp -rf `perldoc -l packdrake` $(MISC_DEST) || { echo "install packdrake first!" ; exit 1; } - cp -rf `perldoc -l Packdrakeng` $(MISC_DEST) || { echo "install packdrake first!" ; exit 1; } - cp -rf `perldoc -l Distribconf` $(MISC_DEST) || { echo "install rpmtools first!" ; exit 1; } - cp -rf `perldoc -l Distribconf::Build` $(MISC_DEST)/Distribconf || { echo "install rpmtools first!" ; exit 1; } - @cp -rf `perldoc -l URPM | sed s/URPM.pm//`URPM* $(MISC_DEST) || { echo "install perl-URPM first!" ; exit 1; } - @cp -rf `perldoc -l URPM | sed s/URPM.pm//`auto/URPM $(MISC_DEST)/auto || { echo "install perl-URPM first!" ; exit 1; } - @cd /usr/bin ; install packdrake $(MISC_DEST) || { echo "packdrake is missing"; exit 1; } - @cd /usr/bin ; install gendistrib rpm2header $(MISC_DEST) || { echo "install rpmtools first!" ; exit 1; } - @mkdir -p $(STAGE2_LIVE)/usr/bin - -xhost+: %: %.c - $(CC) $(CFLAGS) $< -L/usr/X11R6/$(LIB_NAME) -lX11 -o $@ - -clean: - for i in $(DIRS); do $(MAKE) -C $$i clean; done - rm -rf *~ xhost+ rpcinfo-flushed */*.o |