aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2002-02-26 16:35:56 +0000
committerFlorent Villard <warly@mandriva.com>2002-02-26 16:35:56 +0000
commit7f0660de59072502bbffd62bd39166d313be12d2 (patch)
tree17f2113a0493e6297b5f45bab23c2a76532533a9
parent6b9ed57cc7b62062f7a8f6a3311f6f9a245790e8 (diff)
downloadbootsplash-7f0660de59072502bbffd62bd39166d313be12d2.tar
bootsplash-7f0660de59072502bbffd62bd39166d313be12d2.tar.gz
bootsplash-7f0660de59072502bbffd62bd39166d313be12d2.tar.bz2
bootsplash-7f0660de59072502bbffd62bd39166d313be12d2.tar.xz
bootsplash-7f0660de59072502bbffd62bd39166d313be12d2.zip
add localrpm in Makefile
add check in fb Makefile
-rw-r--r--Makefile5
-rw-r--r--bootsplash.spec3
-rw-r--r--fb/Makefile2
3 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b13a2be..e59b09a 100644
--- a/Makefile
+++ b/Makefile
@@ -46,3 +46,8 @@ rpm: changelog cvstag dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
-rpm -ba --clean $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2
+
+localrpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
+ cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
+ -rpm -ba --clean $(NAME).spec
+ rm -f ../$(NAME)-$(VERSION).tar.bz2
diff --git a/bootsplash.spec b/bootsplash.spec
index b08d4a0..e5e89a5 100644
--- a/bootsplash.spec
+++ b/bootsplash.spec
@@ -29,7 +29,10 @@ generated by mkinitrd.
%build
make check
+
+cd fb
make
+cd ..
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/fb/Makefile b/fb/Makefile
index ffcc242..52958ed 100644
--- a/fb/Makefile
+++ b/fb/Makefile
@@ -9,7 +9,7 @@ CFLAGS=-g -O2 -Wall \
PROGS=progress fbresolution
-all build: $(PROGS)
+all: $(PROGS)
check:
/bin/true