Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
java-package
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Java Maintainers
java-package
Commits
1d014048
Commit
1d014048
authored
5 years ago
by
Tony Mancill
Browse files
Options
Downloads
Patches
Plain Diff
Use dh sequencer in debian/rules
parent
6339a114
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/rules
+8
-41
8 additions, 41 deletions
debian/rules
with
8 additions
and
41 deletions
debian/rules
+
8
−
41
View file @
1d014048
...
...
@@ -8,58 +8,25 @@
VERSION := $(shell head -n 1 $(CURDIR)/debian/changelog | sed 's/.*(//;s/).*//')
B := $(CURDIR)/debian/java-package
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
%:
dh $@
build-stamp:
dh_testdir
override_dh_auto_build-indep:
sed s/@VERSION@/$(VERSION)/ make-jpkg > make-jpkg.out
touch $@
dh_auto_build -i
clean:
dh_testdir
dh_testroot
override_dh_clean:
rm -f build-stamp SUPPORTED make-jpkg.out debian/semantic.cache
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
override_dh_auto_install-indep:
install -m 755 make-jpkg.out $(B)/usr/bin/make-jpkg
cp lib/*.sh $(B)/usr/share/java-package/
find $(B) -type d -name .svn | xargs -r rm -r
# Generate SUPPORTED
# Generate SUPPORTED
echo "java-package currently supports the following binary packages:" > SUPPORTED
echo >> SUPPORTED
echo "(This list is automatically generated, do not edit)" >> SUPPORTED
echo >> SUPPORTED
grep -h "SUPPORTED$$" $(wildcard $(CURDIR)/lib/*-*.sh) | sed 's/"//g;s/).*//' >> SUPPORTED
dh_install
binary: binary-indep
binary-arch:
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installman make-jpkg.1
dh_link
# dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
.PHONY: build clean binary-indep binary install
dh_auto_install -i
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment