diff options
| author | Agney Lopes Roth Ferraz <agney@debian.org> | 2006-06-21 22:18:24 -0300 | 
|---|---|---|
| committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:36 -0500 | 
| commit | 078e9c700feccfcf1318b7bde49d6e464bc2ac8c (patch) | |
| tree | 4d24c99643f10e4b8b75bebaaec5d48294b3b112 /Makefile | |
| parent | 18820242e374421ebd6d504a20d11f310b2ac023 (diff) | |
| parent | 720f5023a8f68aaaa54cb6b7bf46efee23b5b4c3 (diff) | |
Import Debian changes 0.4.1-1
hardinfo (0.4.1-1) unstable; urgency=low
  * New upstream release. 
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 37 | 
1 files changed, 27 insertions, 10 deletions
| @@ -2,17 +2,17 @@ GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocai  GTK_CFLAGS = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    GLADE_LIBS =   GLADE_CFLAGS =  -PACKAGE = hardinfo-0.4 +PACKAGE = hardinfo-0.4.1  ARCHOPTS =  -CC = gcc -fPIC -pipe -O3 $(ARCHOPTS) -CCSLOW = gcc -fPIC -pipe -O0 -CFLAGS = -Wall -g $(GTK_CFLAGS) $(GLADE_CFLAGS) -I. +CC = gcc -O3 $(ARCHOPTS)  +CCSLOW = gcc -O0 +CFLAGS = -fPIC -pipe -Wall -g $(GTK_CFLAGS) $(GLADE_CFLAGS) -I.  # ----------------------------------------------------------------------------  OBJECTS = hardinfo.o shell.o util.o iconcache.o loadgraph.o sha1.o md5.o \ -		menu.o stock.o callbacks.o expr.o report.o blowfish.o +		menu.o stock.o callbacks.o expr.o report.o blowfish.o binreloc.o  MODULES = computer.so devices.so benchmark.so   all:	$(OBJECTS) $(MODULES) @@ -32,7 +32,7 @@ sha1.o:  	@echo "[01;34m--- Module: $< ($@)[00m"  	$(CC) $(CFLAGS) -o $@ -shared $< $(GTK_FLAGS) $(GTK_LIBS) \  		$(GLADE_LIBS) $(GLADE_FLAGS) -	mv $@ modules +	mv -f $@ modules  clean:  	rm -rf .xvpics pixmaps/.xvpics *.o *.so hardinfo modules/*.so report @@ -53,16 +53,33 @@ deb:	dist-clean  	dpkg-buildpackage -rfakeroot -k${USER}  install:	all +	@echo '[01;34m*** Creating directories...[00m'  	mkdir -p ${DESTDIR}/usr/bin -	cp hardinfo ${DESTDIR}/usr/bin/hardinfo -	mkdir -p ${DESTDIR}/usr/share/hardinfo/modules +	mkdir -p ${DESTDIR}/usr/local +	mkdir -p ${DESTDIR}/usr/share/applications  	mkdir -p ${DESTDIR}/usr/lib/hardinfo/modules -	cp -rv modules/*.so ${DESTDIR}/usr/lib/hardinfo/modules  	mkdir -p ${DESTDIR}/usr/share/hardinfo/pixmaps -	cp -rv pixmaps/* ${DESTDIR}/usr/share/hardinfo/pixmaps + +	@echo '[01;34m*** Installing icon...[00m' +	cp hardinfo.desktop ${DESTDIR}/usr/share/applications + +	@echo '[01;34m*** Installing executable...[00m' +	cp hardinfo ${DESTDIR}/usr/bin/hardinfo + +	@echo '[01;34m*** Installing modules...[00m' +	cp -r modules/*.so ${DESTDIR}/usr/lib/hardinfo/modules + +	@echo '[01;34m*** Installing pixmaps...[00m' +	cp -r pixmaps/* ${DESTDIR}/usr/share/hardinfo/pixmaps + +	@echo '[01;34m*** Installing misc data...[00m'  	cp uidefs.xml ${DESTDIR}/usr/share/hardinfo  	cp modules.conf ${DESTDIR}/usr/share/hardinfo  	cp benchmark.conf ${DESTDIR}/usr/share/hardinfo  	cp benchmark.data ${DESTDIR}/usr/share/hardinfo + +	@echo '[01;34m*** Fixing permissions...[00m' +	#chmod -R 755 ${DESTDIR}/usr/share/hardinfo  	chmod 755 ${DESTDIR}/usr/bin/hardinfo +	@echo '[01;34m*** Done installing.[00m' | 
