Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package ubuntu: add a make target to upload to Launchpad
- Loading branch information
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| SUBDIRS = \ | ||
| apt \ | ||
| ubuntu \ | ||
| rpm \ | ||
| yum \ | ||
| source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| CODE_NAMES = precise,saucy,trusty | ||
| SOURCE = ../$(PACKAGE)-$(VERSION).tar.gz | ||
|
|
||
| all: | ||
|
|
||
| ensure-configuration: | ||
| @if test -z "$(LAUNCHPAD_UPLOADER_PGP_KEY)"; then \ | ||
| echo "--with-launchpad-uploader-pgp-key configure option must be specified."; \ | ||
| false; \ | ||
| fi | ||
| @if test -z "$(GROONGA_SOURCE_PATH)"; then \ | ||
| echo "--with-groonga-source-path configure option must be specified."; \ | ||
| false; \ | ||
| fi | ||
|
|
||
| upload: source ensure-configuration | ||
| $(GROONGA_SOURCE_PATH)/packages/ubuntu/upload.rb \ | ||
| --package '$(PACKAGE)' \ | ||
| --version '$(VERSION)' \ | ||
| --source-archive '$(SOURCE)' \ | ||
| --code-names '$(CODE_NAMES)' \ | ||
| --debian-directory '$(srcdir)/../debian/' \ | ||
| --pgp-sign-key '$(LAUNCHPAD_UPLOADER_PGP_KEY)' | ||
|
|
||
| source: $(SOURCE) | ||
|
|
||
| $(SOURCE): | ||
| ln -s $(abs_top_builddir)/$(PACKAGE)-$(VERSION).tar.gz $(SOURCE) |