Commit 95d68256 authored by Ole Streicher's avatar Ole Streicher

Add License file to orig.tar.gz

parent 5ce29cf9
......@@ -35,5 +35,4 @@ License: LGPL-2.1+
License version 2.1 can be found in the file
`/usr/share/common-licenses/LGPL-2.1'.
Comment: The license information is stored in the root of the upstream
git repository:
https://github.com/Starlink/starjava/blob/master/LICENSE.txt
git repository.
......@@ -12,6 +12,7 @@ override_dh_auto_test:
get-orig-source:
svn export https://github.com/Starlink/starjava/trunk/fits starjava-fits ; \
wget -nv https://github.com/Starlink/starjava/raw/master/LICENSE.txt -P starjava-fits ; \
VERSION=`xmllint --xpath '//project/property[@name="version"]/@value' starjava-fits/build.xml | cut -d\" -f2| tr - .| tr -d +` ; \
DATE=`stat -c %y starjava-fits/src/main/uk/ac/starlink/fits/*.java | cut -c-10 | sort|uniq|tail -1| tr - .`; \
tar cf starjava-fits_$$VERSION+$$DATE.orig.tar starjava-fits ; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment