summaryrefslogtreecommitdiffstats
path: root/kdvi/make/dist.make
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kdvi/make/dist.make
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/make/dist.make')
-rw-r--r--kdvi/make/dist.make33
1 files changed, 33 insertions, 0 deletions
diff --git a/kdvi/make/dist.make b/kdvi/make/dist.make
new file mode 100644
index 00000000..39c619c7
--- /dev/null
+++ b/kdvi/make/dist.make
@@ -0,0 +1,33 @@
+# dist.make -- how to make the distribution tar file.
+
+top_distdir = $(distname)-$(version)
+top_files = ChangeLog FTP Makefile.in configure configure.in README \
+ $(HOME)/gnu/gnuorg/COPYING* $(HOME)/gnu/gnuorg/install-sh \
+ $(HOME)/bin/mkdirchain \
+ $(plain)/texinfo.tex
+distdir = $(top_distdir)/$(distname)
+kpathsea_distdir = ../$(distname)/$(top_distdir)/kpathsea
+ln_files = AUTHORS ChangeLog INSTALL NEWS README TAGS *.in *.h *.c \
+ configure *.make .gdbinit stamp-auto
+
+dist: depend.make TAGS pre-dist-$(distname)
+ rm -rf $(top_distdir)*
+ mkdir -p $(distdir)
+ cd ..; make Makefile ./configure
+ cd ..; cp -p $(top_files) $(distname)/$(top_distdir)
+ ln -s $(gnu)/share/autoconf/acsite.m4 $(top_distdir)/aclocal.m4
+ -ln $(ln_files) $(distdir)
+ ln $(program_files) $(distdir)
+ cd $(kpathsea_dir); $(MAKE) distdir=$(kpathsea_distdir) \
+ ln_files='$(ln_files)' distdir
+ cp -rp ../make $(top_distdir)
+ ungnumake $(distdir)/Makefile.in $(kpathsea_distdir)/Makefile.in \
+ $(top_distdir)/Makefile.in $(top_distdir)/make/*.make
+# Remove the extra files our patterns got us.
+ cd $(top_distdir); rm -f */depend.make */c-auto.h */Makefile
+ $(MAKE) post-dist-$(distname)
+ cd $(distdir); add-version $(version) $(version_files)
+ cd $(distdir); test ! -r *.info || touch *.info*
+ chmod -R a+rwX $(top_distdir)
+ GZIP=-9 tar chzf $(top_distdir).tar.gz $(top_distdir)
+ rm -rf $(top_distdir)