Skip to content

Commit

Permalink
Fix make install without write privilege to the source directory
Browse files Browse the repository at this point in the history
by not using a temp file in there for irssi-version.h.
Note that this will still not work if the source has changed
since it was compiled, but that is to be expected.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5062 dbcabf3a-b0e7-0310-adc4-f8d773084564
  • Loading branch information
jilles committed Apr 26, 2009
1 parent f9974d4 commit 0ed38eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile.am
Expand Up @@ -10,9 +10,7 @@ default-config.h: $(srcdir)/irssi.conf
default-theme.h: $(srcdir)/default.theme
$(srcdir)/file2header.sh $(srcdir)/default.theme default_theme > default-theme.h
irssi-version.h:
$(srcdir)/irssi-version.sh $(srcdir) > $@.tmp
cmp -s $@.tmp $@ || mv $@.tmp $@
rm -f $@.tmp
$(srcdir)/irssi-version.sh $(srcdir) | cmp -s - $@ || $(srcdir)/irssi-version.sh $(srcdir) >$@

SUBDIRS = src docs scripts

Expand Down

0 comments on commit 0ed38eb

Please sign in to comment.