Skip to content

Commit

Permalink
Support parallel builds and enable it in rpm packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
valtri committed Aug 25, 2013
1 parent 99b4168 commit dce1f3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Expand Up @@ -29,7 +29,7 @@ Provides: glite-yaim-myproxy = %{version}-%{release}

%build
perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=%{_prefix} --libdir=%{_lib} --project=emi --module px.myproxy-yaim
make
make %{?_smp_mflags}


%install
Expand Down
8 changes: 5 additions & 3 deletions org.glite.px.proxyrenewal/Makefile
Expand Up @@ -204,9 +204,11 @@ ${THRLIBOBJ} ${LIB_CORE_THR_OBJS}: %.thr.o: %.c
${EXAMPLES}: %: %.o
${LINK} -o $@ $< ${default_libcore}

${MAN_GZ}: ${MAN}
cp $? .
gzip -9 -f $(notdir $?)
%.1.gz: %.1
gzip -9 -f -c $< > $@

%.8.gz: %.8
gzip -9 -f -c $< > $@

stage: compile
$(MAKE) install PREFIX=${stagedir} staging=1
Expand Down
Expand Up @@ -72,7 +72,7 @@ This package contains daemon and client program of gLite proxyrenewal.

%build
perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=%{_prefix} --libdir=%{_lib} --project=emi --module px.proxyrenewal
CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make
CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make %{?_smp_mflags}


%install
Expand Down

0 comments on commit dce1f3a

Please sign in to comment.