diff options
author | damien <damien@mandriva.com> | 2001-02-08 14:35:20 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-02-08 14:35:20 +0000 |
commit | 3046ac1206698d014a5dd2b1dbda7045acbb98c6 (patch) | |
tree | 5153928d2b2f36b7fb2cec13ca469e01b8c3ce56 /Makefile | |
parent | c56fc59bba121fd2aa6e3227a16a8e2476e89176 (diff) | |
download | control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar.gz control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar.bz2 control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar.xz control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.zip |
built package, ...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 9 insertions, 22 deletions
@@ -1,38 +1,25 @@ -VERSION = 0.50 -NAME = DrakControl -RC_FILES = $(wildcard rc/*.rc) +VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec) +NAME = DrakConf SUBDIRS = po localedir = $(prefix)/usr/share/locale override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\" all: DrakConf - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done +# for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done -DrakConf.pm: DrakConf.c pics/pixmaplogo.xpm - gcc $(CFLAGS) -c DrakConf.c -o DrakConf.o -Wall `gtk+mdk-config --cflags` +DrakConf: + cp control-center3 DrakConf clean: - rm -f DrakConf DrakConf.o core .#*[0-9] - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + rm -f DrakConf core .#*[0-9] +# for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done install: all install -d $(RPM_BUILD_ROOT)/usr/{X11R6/bin/,share/icons} - install -d $(RPM_BUILD_ROOT)/etc/DrakConf/ - for c in $(RC_FILES); do \ - f=`echo $$c|sed 's|.*/\(.*\.rc\)|\1|'` ; \ - install -m644 $$c $(RPM_BUILD_ROOT)/etc/DrakConf/$$f ;\ - done install -s -m755 $(NAME) $(RPM_BUILD_ROOT)/usr/X11R6/bin/ - install -m755 $(NAME).pm $(RPM_BUILD_ROOT)/usr/X11R6/bin/ - install -m644 pics/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/ - rm -f $(RPM_BUILD_ROOT)/usr/share/icons/pixmaplogo.xpm - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done - -changelog: ../common/username - cvs2cl -U ../common/username -I ChangeLog - rm -f ChangeLog.bak - cvs commit -m "Generated by cvs2cl the `date '+%d_%b'`" ChangeLog + install -m644 pixmaps/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/ +# for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done dis: clean rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* |