mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
docs/C_SOURCE_FILES, po/POTFILES: Remove duplicate files.
Because v2v/test-harness is a subdirectory of v2v, and because both paths are listed in $(DIST_SUBDIRS), using find $(DIST_SUBDIRS) will list files in v2v/test-harness twice. (This probably happens in other directories too, but I noticed it here.) The easiest fix for this is simply to use 'sort -u' to remove the duplicates.
This commit is contained in:
@@ -328,7 +328,7 @@ docs/C_SOURCE_FILES: configure.ac
|
||||
grep -v -E '/(guestfs|rc)_protocol\.' | \
|
||||
grep -v -E '.*/errnostring\.' | \
|
||||
grep -v -E '.*-gperf\.' | \
|
||||
LC_ALL=C sort > $@-t
|
||||
LC_ALL=C sort -u > $@-t
|
||||
mv $@-t $@
|
||||
|
||||
# For more information about translations, see po/Makefile.am.
|
||||
@@ -340,7 +340,7 @@ po/POTFILES: configure.ac
|
||||
grep -v -E '/((guestfs|rc)_protocol\.c)$$' | \
|
||||
grep -v -E '^python/utils\.c$$' | \
|
||||
grep -v -E '^perl/lib/Sys/Guestfs\.c$$' | \
|
||||
LC_ALL=C sort > $@-t
|
||||
LC_ALL=C sort -u > $@-t
|
||||
mv $@-t $@
|
||||
|
||||
po/POTFILES-ml: configure.ac
|
||||
|
||||
Reference in New Issue
Block a user