From 628fe8dc7e97ad53f638a410ebd04ee3021f9017 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 20 Sep 2019 01:13:41 +0200 Subject: Remove gphoto2 symlink loop in /usr/include/gphoto2 Stop creating the gphoto2 symlink loop in /usr/include/gphoto2/. The /usr/include/gphoto2/gphoto2 symlink pointing to `.`, i.e. to /usr/include/gphoto2 was added in 2006 to solve an source compatibility issue from back then. Fedora have been removing that symlink from their packaged libgphoto2 packages since 2009, so it appears those compatibility issues have been solved since 2009. We should thus be able to remove the symlink now (in 2019). Resolves: https://github.com/gphoto/libgphoto2/issues/444 --- libgphoto2_port/Makefile.am | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/libgphoto2_port/Makefile.am b/libgphoto2_port/Makefile.am index 74b0e01b9..c1a4cade9 100644 --- a/libgphoto2_port/Makefile.am +++ b/libgphoto2_port/Makefile.am @@ -91,20 +91,3 @@ nobase_include_HEADERS = \ gphoto2/gphoto2-port-result.h EXTRA_DIST += gphoto2/gphoto2-port-library.h - - -# Compatibility for header inclusions. -# -# - Old code has -I/usr/include/gphoto2 -# #include -# -# - New code has -I/usr/include -# #include - -install-data-local: - rm -f $(DESTDIR)$(includedir)/gphoto2/gphoto2 - $(INSTALL) -m 0755 -d $(DESTDIR)$(includedir)/gphoto2 - $(LN_S) . $(DESTDIR)$(includedir)/gphoto2/gphoto2 - -uninstall-local: - rm -f $(DESTDIR)$(includedir)/gphoto2/gphoto2 -- cgit v1.2.1