summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2001-04-09 00:22:45 +0000
committerDaouda Lo <daouda@mandriva.com>2001-04-09 00:22:45 +0000
commit4f583e2a768d7b1c373f7e90c47403182dd680fb (patch)
tree123215320c1ebba7eedc8547180159e640fd6043 /Makefile
parent550301ace34ea52303ddbe4341bb1a68a59c22b7 (diff)
downloadcontrol-center-4f583e2a768d7b1c373f7e90c47403182dd680fb.tar
control-center-4f583e2a768d7b1c373f7e90c47403182dd680fb.tar.gz
control-center-4f583e2a768d7b1c373f7e90c47403182dd680fb.tar.bz2
control-center-4f583e2a768d7b1c373f7e90c47403182dd680fb.tar.xz
control-center-4f583e2a768d7b1c373f7e90c47403182dd680fb.zip
fix $RPM to point to builder dir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f78f200d..d9f1af74 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec)
NAME = DrakConf
SUBDIRS = po
localedir = $(prefix)/usr/share/locale
+RPM=$(HOME)/RPM
override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\"
@@ -38,6 +39,7 @@ dis: clean
rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
+ cp -f *.xpm.bz2 $(RPM)/SOURCES
cp -f $(NAME).spec $(RPM)/SPECS/
-rpm -ba --clean --rmsource $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2