Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitba66752

Browse files
committed
Fix sporadic rebuilds for .pc files
The build of .pc (pkg-config) files depends on all makefiles in use, andin dependency tracking mode, the previous coding ended up including/dev/null as a makefile. Apparently, on some platforms the modificationtime of /dev/null changes sporadically, and so the .pc files would endup being rebuilt every so often. Fix that by changing the makefile codeto do without using /dev/null.
1 parent0b33790 commitba66752

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎src/Makefile.global.in

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,12 @@ ifeq ($(GCC), yes)
687687
endif# GCC
688688

689689
# Include all the dependency files generated for the current
690-
# directory. List /dev/null as dummy because if the wildcard expands
691-
# to nothing then make would complain.
692-
-include$(wildcard$(DEPDIR)/*.Po) /dev/null
690+
# directory. Note that make would complain if include was called with
691+
# no arguments.
692+
Po_files :=$(wildcard$(DEPDIR)/*.Po)
693+
ifneq (,$(Po_files))
694+
include$(Po_files)
695+
endif
693696

694697
# hook for clean-up
695698
cleandistcleanmaintainer-clean: clean-deps

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp