summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-02-17 16:29:33 +0000
committerDaouda Lo <daouda@mandriva.com>2003-02-17 16:29:33 +0000
commit8794a95de9c2b3e837ef1601a918e2c711eaaa9d (patch)
tree21f13248945027a7c19b19dcf716004371205865 /Makefile
parent41a6399b87c5ee993dc8f8f8be6afde940121f19 (diff)
downloadmgaonline-8794a95de9c2b3e837ef1601a918e2c711eaaa9d.tar
mgaonline-8794a95de9c2b3e837ef1601a918e2c711eaaa9d.tar.gz
mgaonline-8794a95de9c2b3e837ef1601a918e2c711eaaa9d.tar.bz2
mgaonline-8794a95de9c2b3e837ef1601a918e2c711eaaa9d.tar.xz
mgaonline-8794a95de9c2b3e837ef1601a918e2c711eaaa9d.zip
- fix Makefile typos
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 12a2475d..f1443083 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,8 @@ RELEASE:=$(shell rpm -q --qf %{RELEASE} --specfile $(PACKAGE).spec)
TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
NAME = mdkonline
MDKUPDATE = mdkupdate
-#SCRIPTS = sshlogin.exp scpcall.exp
SUBDIRS = po
+RPM = $(HOME)/rpm
localedir = $(prefix)/usr/share/locale
override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\"
@@ -26,7 +26,6 @@ install: all
install -s -m755 $(MDKUPDATE) $(RPM_BUILD_ROOT)/usr/bin/
install -m644 *.desktop $(RPM_BUILD_ROOT)/usr/share/nautilus/default-desktop/
install -m644 pixmaps/*.png $(RPM_BUILD_ROOT)/usr/share/mdkonline/pixmaps/
- install -m644 *.txt $(RPM_BUILD_ROOT)/usr/share/mdkonline/
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
# rules to build a test rpm
@@ -52,8 +51,8 @@ tar:
buildrpm:
(echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \
- cat $(project).spec \
- ) > $(RPM)/SPECS/$(project).spec
+ cat $(PACKAGE).spec \
+ ) > $(RPM)/SPECS/$(PACKAGE).spec
rpm -ta $(PACKAGE)-$(VERSION).tar.bz2
# rules to build a distributable rpm