aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-01 09:26:39 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-01 09:26:39 +0000
commit6b8dd80c04378729c5345331fb7ec96d9e453ab0 (patch)
tree063f6019561730cc41c0f034a6a8f5fd0f157ec0 /Makefile
parentb69ffe110cc1da451a8e743a25a37c605b966f6e (diff)
downloadtransfugdrake-6b8dd80c04378729c5345331fb7ec96d9e453ab0.tar
transfugdrake-6b8dd80c04378729c5345331fb7ec96d9e453ab0.tar.gz
transfugdrake-6b8dd80c04378729c5345331fb7ec96d9e453ab0.tar.bz2
transfugdrake-6b8dd80c04378729c5345331fb7ec96d9e453ab0.tar.xz
transfugdrake-6b8dd80c04378729c5345331fb7ec96d9e453ab0.zip
remove rpm and dis rules/variables
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index e2b8626..843835d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,6 @@ 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
@@ -38,20 +37,3 @@ install: all
# install -m644 pixmaps/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/
# install -m644 pixmaps/*.png $(RPM_BUILD_ROOT)/usr/share/icons/
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
-
-dis: clean
- rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
-# cvs commit
- mkdir -p $(NAME)-$(VERSION)
- find . -not -name "$(NAME)-$(VERSION)"|cpio -pd $(NAME)-$(VERSION)/
- find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused |xargs rm -rf
- tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
- bzip2 -9f ../$(NAME)-$(VERSION).tar
- rm -rf $(NAME)-$(VERSION)
-
-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 $(NAME).spec
- rm -f ../$(NAME)-$(VERSION).tar.bz2