SPECS: foo2zjs.spec - use make install

marcus marcus at pld-linux.org
Fri Sep 26 19:31:16 CEST 2008


Author: marcus                       Date: Fri Sep 26 17:31:16 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use make install

---- Files affected:
SPECS:
   foo2zjs.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/foo2zjs.spec
diff -u SPECS/foo2zjs.spec:1.7 SPECS/foo2zjs.spec:1.8
--- SPECS/foo2zjs.spec:1.7	Sun Sep 14 09:08:26 2008
+++ SPECS/foo2zjs.spec	Fri Sep 26 19:31:11 2008
@@ -102,8 +102,9 @@
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/{firmware,crd}
 install -d $RPM_BUILD_ROOT/etc/udev/rules.d
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
-install {arm2hpdl,foo2zjs,foo2zjs-wrapper,foo2zjs-pstops{,.sh},zjsdecode,usb_printerid} \
-	$RPM_BUILD_ROOT%{_bindir}
+%{__make} install-prog PREFIX="$RPM_BUILD_ROOT%{_prefix}" MANDIR="$RPM_BUILD_ROOT%{_mandir}" UDEVBIN="$RPM_BUILD_ROOT%{_bindir}"
+%{__make} install-man PREFIX="$RPM_BUILD_ROOT%{_prefix}" MANDIR="$RPM_BUILD_ROOT%{_mandir}"
+
 install hplj1000 $RPM_BUILD_ROOT%{_bindir}/hplj10xx
 install hplj10xx.rules $RPM_BUILD_ROOT/etc/udev/rules.d/11-hplj10xx.rules
 
@@ -120,8 +121,6 @@
 install *.ps $RPM_BUILD_ROOT%{_datadir}/%{name}
 install crd/zjs/*.{crd,ps} \
 	$RPM_BUILD_ROOT%{_datadir}/%{name}/crd
-install {foo2zjs,foo2zjs-wrapper,zjsdecode}.1 \
-	$RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -152,6 +151,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008/09/26 17:31:11  marcus
+- use make install
+
 Revision 1.7  2008/09/14 07:08:26  adamg
 - foo2zjs-pstops is needed; release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/foo2zjs.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list