• R/O
  • HTTP
  • SSH
  • HTTPS

pexports: Commit

Windows DLL exported symbols listing utility


Commit MetaInfo

Révision06429d0f083c146cf13a46327668746635900590 (tree)
l'heure2013-05-31 05:07:47
AuteurKeith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Message de Log

Assemble licence and documentation tarballs for distribution.

Change Summary

Modification

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
1+2013-05-30 Keith Marshall <keithmarshall@users.sourceforge.net>
2+
3+ Assemble licence and documentation tarballs for distribution.
4+
5+ * Makefile.in (dist): Add dependencies on...
6+ (licdist, docdist): ...these new build goals; specify them based on...
7+ (LIC_DISTFILES, DOC_DISTFILES): ...these new macros; define them as
8+ the respective list of files to include in each tarball.
9+
110 2013-05-29 Keith Marshall <keithmarshall@users.sourceforge.net>
211
312 Force a remake, on package version updates.
--- a/Makefile.in
+++ b/Makefile.in
@@ -63,6 +63,14 @@ AUX_DISTFILES = \
6363 #
6464 BIN_DISTFILES = pexports$(EXEEXT)
6565
66+# Files to be included in a documentation tarball.
67+#
68+DOC_DISTFILES = README ChangeLog
69+
70+# Files to be included in a licence tarball.
71+#
72+LIC_DISTFILES = COPYING
73+
6674 OBJECT_FILES = \
6775 hlex.$(OBJEXT) hparse.$(OBJEXT) pexports.$(OBJEXT) str_tree.$(OBJEXT)
6876
@@ -119,7 +127,7 @@ uninstall:
119127
120128 # Distribution.
121129 #
122-dist: srcdist bindist
130+dist: srcdist bindist docdist licdist
123131
124132 abs_top_srcdir = @abs_top_srcdir@
125133
@@ -149,6 +157,26 @@ bindist: $(BIN_DISTFILES)
149157 cd tmp && tar -chof - bin | xz > ../$(PACKAGE_DISTNAME)-bin.tar.xz
150158 $(RM) -r tmp
151159
160+docdist:
161+ $(RM) -r tmp
162+ $(MKDIR_P) tmp/share/doc/$(PACKAGE_TARNAME)/$(PACKAGE_VERSION)
163+ cd tmp/share/doc/$(PACKAGE_TARNAME)/$(PACKAGE_VERSION) && \
164+ for file in $(DOC_DISTFILES); \
165+ do $(LN_S) ${abs_top_srcdir}/$$file .; \
166+ done
167+ cd tmp && tar -chof - share | xz > ../$(PACKAGE_DISTNAME)-doc.tar.xz
168+ $(RM) -r tmp
169+
170+licdist:
171+ $(RM) -r tmp
172+ $(MKDIR_P) tmp/share/doc/$(PACKAGE_TARNAME)/$(PACKAGE_VERSION)
173+ cd tmp/share/doc/$(PACKAGE_TARNAME)/$(PACKAGE_VERSION) && \
174+ for file in $(LIC_DISTFILES); \
175+ do $(LN_S) ${abs_top_srcdir}/$$file .; \
176+ done
177+ cd tmp && tar -chof - share | xz > ../$(PACKAGE_DISTNAME)-lic.tar.xz
178+ $(RM) -r tmp
179+
152180 # Clean-up.
153181 #
154182 mostlyclean clean:
Afficher sur ancien navigateur de dépôt.