Skip to content

Commit

Permalink
Remove left over lock file from intltool on "make distcheck"
Browse files Browse the repository at this point in the history
Debian and ArchLinux (and maybe more) patched their "intltool" package
to use a lock file. But this lock file is not removed after its use and
so "make distcheck" complains about it.
  • Loading branch information
eht16 committed Oct 9, 2021
1 parent 9fd7e7a commit 2977a91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.am
Expand Up @@ -35,6 +35,12 @@ DISTCLEANFILES = \
uninstall-local:
rm -rf $(DESTDIR)$(pkgdatadir);

# Remove po/.intltool-merge-cache.lock on "distcheck" which is left over by various incorrectly
# patched versions of intltool, e.g. https://bugs.archlinux.org/task/67098 or
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991623
distclean-local:
rm -f $(top_builddir)/po/.intltool-merge-cache.lock

# manually install some files under another name
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
Expand Down

0 comments on commit 2977a91

Please sign in to comment.