[PATCH] e2fsprogs: create com_err.h symlink in includedir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After debian bug #192277, debian/rules started making a symlink
to com_err.h in /usr/include.  Now I have Fedora bug #550889
for the same issue, and perhaps it's time to make this symlink
by default, rather than fixing it up in packaging steps?

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

diff --git a/debian/rules b/debian/rules
index 9fe59e6..41fca24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -326,8 +326,6 @@ install-std: build
 	${INSTALL_PROGRAM} $(E2FSCK_STATIC) ${tmpdir}/sbin
 	cp ${mandir}/man8/e2fsck.8 ${mandir}/man8/e2fsck.static.8
 
-	ln -s et/com_err.h ${tmpdir}/usr/include
-
 	dh_movefiles
 	test -z "`find ${tmpdir} -type f`"
 
diff --git a/lib/et/Makefile.in b/lib/et/Makefile.in
index a7e273c..68d94a9 100644
--- a/lib/et/Makefile.in
+++ b/lib/et/Makefile.in
@@ -96,6 +96,7 @@ install:: compile_et libcom_err.a $(HFILES) installdirs com_err.pc
 		echo "	INSTALL_DATA $(includedir)/et/$$i"; \
 		$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/et/$$i; \
 	done
+	$(Q) $(LN) $(LINK_INSTALL_FLAGS) -s $(includedir)/et/com_err.h $(DESTDIR)$(includedir)
 	$(Q) for i in $(SHARE_FILES); do \
 		echo "	INSTALL_DATA $(datadir)/et/$$i"; \
 		$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(datadir)/et/$$i; \
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux