OLD | NEW |
1 ## | 1 ## |
2 ## Author: Lasse Collin | 2 ## Author: Lasse Collin |
3 ## | 3 ## |
4 ## This file has been put into the public domain. | 4 ## This file has been put into the public domain. |
5 ## You can do whatever you want with this file. | 5 ## You can do whatever you want with this file. |
6 ## | 6 ## |
7 | 7 |
| 8 # Use -n to prevent gzip from adding a timestamp to the .gz headers. |
| 9 GZIP_ENV = -9n |
| 10 |
8 DIST_SUBDIRS = lib src po tests debug | 11 DIST_SUBDIRS = lib src po tests debug |
9 SUBDIRS = | 12 SUBDIRS = |
10 | 13 |
11 if COND_GNULIB | 14 if COND_GNULIB |
12 SUBDIRS += lib | 15 SUBDIRS += lib |
13 endif | 16 endif |
14 | 17 |
15 SUBDIRS += src po tests | 18 SUBDIRS += src po tests |
16 | 19 |
17 dist_doc_DATA = \ | 20 dist_doc_DATA = \ |
18 AUTHORS \ | 21 AUTHORS \ |
19 COPYING \ | 22 COPYING \ |
20 COPYING.GPLv2 \ | 23 COPYING.GPLv2 \ |
21 NEWS \ | 24 NEWS \ |
22 README \ | 25 README \ |
23 THANKS \ | 26 THANKS \ |
24 TODO \ | 27 TODO \ |
25 doc/faq.txt \ | 28 doc/faq.txt \ |
26 doc/history.txt \ | 29 doc/history.txt \ |
27 doc/xz-file-format.txt \ | 30 doc/xz-file-format.txt \ |
28 doc/lzma-file-format.txt | 31 doc/lzma-file-format.txt |
29 | 32 |
30 examplesdir = $(docdir)/examples | 33 examplesdir = $(docdir)/examples |
31 dist_examples_DATA = \ | 34 dist_examples_DATA = \ |
32 » doc/examples/xz_pipe_comp.c \ | 35 » doc/examples/00_README.txt \ |
33 » doc/examples/xz_pipe_decomp.c | 36 » doc/examples/01_compress_easy.c \ |
| 37 » doc/examples/02_decompress.c \ |
| 38 » doc/examples/03_compress_custom.c \ |
| 39 » doc/examples/Makefile |
| 40 |
| 41 examplesolddir = $(docdir)/examples_old |
| 42 dist_examplesold_DATA = \ |
| 43 » doc/examples_old/xz_pipe_comp.c \ |
| 44 » doc/examples_old/xz_pipe_decomp.c |
34 | 45 |
35 EXTRA_DIST = \ | 46 EXTRA_DIST = \ |
36 extra \ | 47 extra \ |
37 dos \ | 48 dos \ |
38 windows \ | 49 windows \ |
39 autogen.sh \ | 50 autogen.sh \ |
40 Doxyfile.in \ | 51 Doxyfile.in \ |
41 COPYING.GPLv2 \ | 52 COPYING.GPLv2 \ |
42 COPYING.GPLv3 \ | 53 COPYING.GPLv3 \ |
43 COPYING.LGPLv2.1 \ | 54 COPYING.LGPLv2.1 \ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 95 |
85 # This works with GNU tar and gives cleaner package than normal 'make dist'. | 96 # This works with GNU tar and gives cleaner package than normal 'make dist'. |
86 mydist: | 97 mydist: |
87 VERSION=$(VERSION); \ | 98 VERSION=$(VERSION); \ |
88 if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \ | 99 if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \ |
89 SNAPSHOT=`cd "$(srcdir)" && git describe --abbrev=4 | cut -b2-`;
\ | 100 SNAPSHOT=`cd "$(srcdir)" && git describe --abbrev=4 | cut -b2-`;
\ |
90 test -n "$$SNAPSHOT" && VERSION=$$SNAPSHOT; \ | 101 test -n "$$SNAPSHOT" && VERSION=$$SNAPSHOT; \ |
91 fi; \ | 102 fi; \ |
92 TAR_OPTIONS='--owner=0 --group=0 --numeric-owner --mode=u+rw,go+r-w' \ | 103 TAR_OPTIONS='--owner=0 --group=0 --numeric-owner --mode=u+rw,go+r-w' \ |
93 $(MAKE) VERSION="$$VERSION" dist-gzip | 104 $(MAKE) VERSION="$$VERSION" dist-gzip |
OLD | NEW |