Merge lp:~dobey/intltool/intltoolize-version-magic into lp:intltool

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 696
Merged at revision: not available
Proposed branch: lp:~dobey/intltool/intltoolize-version-magic
Merge into: lp:intltool
Diff against target: None lines
To merge this branch: bzr merge lp:~dobey/intltool/intltoolize-version-magic
Reviewer Review Type Date Requested Status
intltool Developers Pending
Review via email: mp+5908@code.launchpad.net

Commit message

Only create the intltool-foo.in files if needed for compatibility

To post a comment you must log in.
Revision history for this message
dobey (dobey) wrote :

Only create the empty "script" files if they are mentioned in Makefile.am

695. By dobey

 Use egrep to be consistent, and redirect output to /dev/null

696. By dobey

 Always remove the intltool-foo.in files as we don't use them

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'intltoolize.in'
2--- intltoolize.in 2008-07-25 15:48:39 +0000
3+++ intltoolize.in 2009-04-26 19:34:03 +0000
4@@ -214,7 +214,9 @@
5 # Touch script names for backward compatibility
6 for script in intltool-extract.in intltool-merge.in intltool-update.in; do
7 if test -h $script; then rm -f $script; fi
8- touch $script
9+ if grep $script Makefile.am; then
10+ touch $script
11+ fi
12 done
13 done
14

Subscribers

People subscribed via source and target branches

to all changes: