Permalink
Browse files

fix bin fixing task

  • Loading branch information...
1 parent fa0a8de commit 75418d61ca058f32ca386cdc844b00b66dcc6a81 @oetiker committed Dec 15, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 backend/Makefile.am
View
@@ -45,7 +45,8 @@ public/script/$(QX_CLASS).js: $(shell find ../frontend/source/class/$(QX_CLASS)
endif
install-exec-hook:
- [ "$(PERL5LIB)" != "" ] && cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{^#!.*perl.*}{#!$(PERL)}; s{.*# PERL5LIB}{use lib qw($(PERL5LIB)); # PERL5LIB}' *.pl || true
+ [ "$(PERL5LIB)" != "" ] && cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib qw($(PERL5LIB)); # PERL5LIB}' *.pl || true
+ cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{^#!.*perl.*}{#!$(PERL)};' *.pl
dist-hook:
$(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s+=\s+".+?"/\$$VERSION = "$$d"/;' $(distdir)/lib/$(MJ_CLASS).pm

0 comments on commit 75418d6

Please sign in to comment.