summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2019-09-20 01:13:41 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2019-10-14 23:18:17 +0200
commit628fe8dc7e97ad53f638a410ebd04ee3021f9017 (patch)
tree6738f778de4b38246ec636da72fd9655e17ae7ba
parent042c553b5f33d0591f45f326e4fe02e63dd0aee8 (diff)
downloadlibgphoto2-628fe8dc7e97ad53f638a410ebd04ee3021f9017.tar.gz
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
-rw-r--r--libgphoto2_port/Makefile.am17
1 files changed, 0 insertions, 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 <gphoto2-camera.h>
-#
-# - New code has -I/usr/include
-# #include <gphoto2/gphoto2-camera.h>
-
-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