diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-04-03 15:09:04 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-04-03 15:09:04 -0400 |
commit | b66f9026177639d06ebbd1134886d37e2451b3a8 (patch) | |
tree | feb7b05a072f4a1d79a73d2e0e61f7e516125875 /Makefile.PL | |
parent | 56c64ff1963b33da74677f08a0b8c6579bc2d68b (diff) | |
download | ikiwiki-b66f9026177639d06ebbd1134886d37e2451b3a8.tar ikiwiki-b66f9026177639d06ebbd1134886d37e2451b3a8.tar.gz |
fix buggy program installation code
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-x | Makefile.PL | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL index 5a9028b51..38db20d44 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -29,6 +29,7 @@ W3M_CGI_BIN?=$(PREFIX)/lib/w3m/cgi-bin tflag=$(shell if [ -n "$$NOTAINT" ] && [ "$$NOTAINT" != 1 ]; then printf -- "-T"; fi) extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:NYTProf"; fi) outprogs=ikiwiki.out ikiwiki-transition.out ikiwiki-calendar.out +scripts=ikiwiki-update-wikilist ikiwiki-makerepo %.out: %.in ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < $< > $@ @@ -116,8 +117,8 @@ extra_install: underlay_install install ikiwiki-w3m.cgi $(DESTDIR)$(W3M_CGI_BIN) install -d $(DESTDIR)$(PREFIX)/bin - for prog in $(outprogs); do \ - install $$prog $(DESTDIR)$(PREFIX)/bin/$$(shell echo $$prog | sed 's/\.out//'); \ + for prog in $(outprogs) $(scripts); do \ + install $$prog $(DESTDIR)$(PREFIX)/bin/$$(echo $$prog | sed 's/\.out//'); \ done $(MAKE) -C po install DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) |