Fix parallel building of modperl

The symptoms looked like this:

    Packing man page znc-buildmod.1.gz...
    Generating ZNC API for Perl...
    Generating ZNC API for Perl...
    Generating ZNC API for Perl...
    Linking znc...

The reason was that the old rule was executed multiple times in parallel. See
the following commit for more information:

    commit 84ec49780e
    Author: Uli Schlachter <psychon@znc.in>
    Date:   Sun Sep 23 12:03:22 2012 +0200

        Get rid of the modpythin jobhack

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2012-11-01 15:23:47 +01:00
parent 3b10202143
commit 5ea266a199
+1 -3
View File
@@ -49,9 +49,7 @@ modperl/ZNC.o: modperl/ZNC.cpp Makefile
$(Q)$(CXX) $(MODFLAGS) -I$(srcdir) -MD -MF .depend/modperl.library.dep $(PERL_CXX) -Wno-unused-variable -Wno-shadow -o $@ $< -c
ifneq "$(SWIG)" ""
modperl/swigperlrun.h modperl/functions.cpp modperl/ZNC.cpp modperl/ZNC.pm: modperl/codegen.pl modperl/functions.in Makefile
@mkdir -p modperl .depend
$(Q)$(MAKE) -f $(srcdir)/modperl/Makefile.gen $(C) SWIG="$(SWIG)" srcdir="$(srcdir)" PERL="$(PERL)" VERBOSE="$(VERBOSE)" SED="$(SED)"
include $(srcdir)/modperl/Makefile.gen
endif
modperl_install: install_datadir modperl_all