diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |