diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-03-27 22:54:54 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-03-27 22:54:54 +0100 |
| commit | 740a6045cd1592f93f0b1bb42268b900134c3bf9 (patch) | |
| tree | 63d981617c1d506f2f5bad8ebcc945235c70cc32 /sample | |
| parent | 0e7af38d06339287d8ffe72bdd7af4d5e7e0001d (diff) | |
| download | cataract-740a6045cd1592f93f0b1bb42268b900134c3bf9.tar.xz | |
Workaround symlink dereference of sample files by tar'ing them
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sample/Makefile.am b/sample/Makefile.am index 1ab712f..95f430d 100644 --- a/sample/Makefile.am +++ b/sample/Makefile.am @@ -2,5 +2,13 @@ NULL = EXTRA_DIST = \ gen.sh \ - src \ $(NULL) + +SRC_TARBALL = src.tar.gz + +all: + if [[ ! -d src && -f ${SRC_TARBALL} ]] ; then tar -xvzf ${SRC_TARBALL}; fi + + +dist-hook: + if [[ -d src ]]; then tar -cvzf $(distdir)/${SRC_TARBALL} src; fi |
