From 2f706cbeb5f077c9d1f01256bdf978a58769db43 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 5 Apr 2016 14:29:02 +0200 Subject: nxcomp/Makefile.in: Only install MD5.h, NX.h, NXalert.h, NXpack.h, NXproto.h and NXvars.h as publicly available header files. * Also adapt debian/libxcomp-dev.install.in accordingly. * Also adapt nx-libs.spec accordingly. --- debian/libxcomp-dev.install.in | 2 -- nx-libs.spec | 2 -- nxcomp/Makefile.in | 8 +++++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/debian/libxcomp-dev.install.in b/debian/libxcomp-dev.install.in index f0faa49e3..e27e6ecf0 100644 --- a/debian/libxcomp-dev.install.in +++ b/debian/libxcomp-dev.install.in @@ -1,10 +1,8 @@ usr/lib/*/libXcomp.so usr/include/*/nx/NX.h usr/include/*/nx/NXalert.h -usr/include/*/nx/NXmitshm.h usr/include/*/nx/NXpack.h usr/include/*/nx/NXproto.h -usr/include/*/nx/NXrender.h usr/include/*/nx/NXvars.h usr/include/*/nx/MD5.h usr/lib/*/pkgconfig/nxcomp.pc \ No newline at end of file diff --git a/nx-libs.spec b/nx-libs.spec index 5ce1d2145..111e98b3d 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -580,10 +580,8 @@ rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans %{_includedir}/nx/MD5.h %{_includedir}/nx/NX.h %{_includedir}/nx/NXalert.h -%{_includedir}/nx/NXmitshm.h %{_includedir}/nx/NXpack.h %{_includedir}/nx/NXproto.h -%{_includedir}/nx/NXrender.h %{_includedir}/nx/NXvars.h %{_libdir}/pkgconfig/nxcomp.pc diff --git a/nxcomp/Makefile.in b/nxcomp/Makefile.in index 8fc37407f..759ab6a4f 100644 --- a/nxcomp/Makefile.in +++ b/nxcomp/Makefile.in @@ -283,8 +283,12 @@ install.lib: all $(INSTALL_LINK) $(LIBLOAD) $(DESTDIR)${libdir} $(INSTALL_LINK) $(LIBSHARED) $(DESTDIR)${libdir} $(INSTALL_DATA) $(LIBARCHIVE) $(DESTDIR)${libdir} - $(INSTALL_DATA) NX*.h $(DESTDIR)${includedir}/nx $(INSTALL_DATA) MD5.h $(DESTDIR)${includedir}/nx + $(INSTALL_DATA) NX.h $(DESTDIR)${includedir}/nx + $(INSTALL_DATA) NXalert.h $(DESTDIR)${includedir}/nx + $(INSTALL_DATA) NXpack.h $(DESTDIR)${includedir}/nx + $(INSTALL_DATA) NXproto.h $(DESTDIR)${includedir}/nx + $(INSTALL_DATA) NXvars.h $(DESTDIR)${includedir}/nx $(INSTALL_DATA) nxcomp.pc $(DESTDIR)${pkgconfigdir} echo "Running ldconfig tool, this may take a while..." && ldconfig || true @@ -301,10 +305,8 @@ uninstall.lib: $(RM_FILE) $(DESTDIR)${libdir}/$(LIBARCHIVE) $(RM_FILE) $(DESTDIR)${includedir}/nx/NXalert.h $(RM_FILE) $(DESTDIR)${includedir}/nx/NX.h - $(RM_FILE) $(DESTDIR)${includedir}/nx/NXmitshm.h $(RM_FILE) $(DESTDIR)${includedir}/nx/NXpack.h $(RM_FILE) $(DESTDIR)${includedir}/nx/NXproto.h - $(RM_FILE) $(DESTDIR)${includedir}/nx/NXrender.h $(RM_FILE) $(DESTDIR)${includedir}/nx/NXvars.h $(RM_FILE) $(DESTDIR)${includedir}/nx/MD5.h $(RM_FILE) $(DESTDIR)${pkgconfigdir}/nxcomp.pc -- cgit v1.2.3