aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 50c1dec..bae73c1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,12 @@
+PREFIX =
+BINDIR = $(PREFIX)/usr/bin
+MANDIR = $(PREFIX)/usr/man
+SBINDIR = $(PREFIX)/usr/sbin
+XBINDIR = $(PREFIX)/usr/X11R6/bin
+LOCALEDIR = $(PREFIX)/usr/share/locale
+CFLAGS = -Wall -g
VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec)
+
NAME = transfugdrake
SUBDIRS = po
localedir = $(prefix)/usr/share/locale
@@ -41,5 +49,5 @@ 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
+ -rpm -ba $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2