mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
Only package debian/tmp/[data]/file in asset source package; extra instructions
This commit is contained in:
parent
0062fded19
commit
6a80cc60b6
3 changed files with 17 additions and 2 deletions
|
@ -23,6 +23,9 @@ Next, you will have to add that key fingerprint to your Launchpad account. Go to
|
|||
profile and click the yellow Edit button next to "OpenPGP keys". Once you add the key, you can
|
||||
upload signed source packages and publish them onto your PPA.
|
||||
|
||||
IF YOU UPLOAD A PACKAGE and Launchpad does NOT send you a confirmation or rejection email, that
|
||||
means your key is not set up correctly with your Launchpad account.
|
||||
|
||||
Use these steps to prepare building a source package for Launchpad:
|
||||
|
||||
-2. Highly recommend copying the assets/ folder to outside your repo folder, or else the asset
|
||||
|
|
|
@ -49,7 +49,7 @@ build:
|
|||
# This will need to be updated every time SRB2 official version is
|
||||
# Copy data files to their install locations, and add data files to include-binaries
|
||||
for file in $(DATAFILES); do \
|
||||
if [ ! -f $(RESOURCEDIR)/$$file ]; then \
|
||||
if [ ! -f $(RESOURCEDIR)/$$file ] && [ ! -f $(RESOURCEDIR)/debian/tmp/$(DATADIR)/$$file ]; then \
|
||||
$(WGET) http://alam.srb2.org/SRB2/2.1.21-Final/Resources/$$file; \
|
||||
fi; \
|
||||
if [ -f $(RESOURCEDIR)/$$file ]; then \
|
||||
|
@ -58,7 +58,16 @@ build:
|
|||
else \
|
||||
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/$$file; \
|
||||
fi; \
|
||||
echo $(RESOURCEDIR)/$$file >> $(DIR)/debian/source/include-binaries; \
|
||||
fi; \
|
||||
if [ -f $(RESOURCEDIR)/debian/tmp/$(DATADIR)/$$file ]; then \
|
||||
if test "$$file" = "srb2.wad"; then \
|
||||
echo $(RESOURCEDIR)/debian/tmp/$(DATADIR)/srb2.srb >> $(DIR)/debian/source/include-binaries; \
|
||||
else \
|
||||
echo $(RESOURCEDIR)/debian/tmp/$(DATADIR)/$$file >> $(DIR)/debian/source/include-binaries; \
|
||||
fi; \
|
||||
else \
|
||||
echo $(RESOURCEDIR)/debian/tmp/$(DATADIR)/$$file not found and could not be downloaded!; \
|
||||
return 1; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
|
|
3
debian/README.Debian
vendored
3
debian/README.Debian
vendored
|
@ -22,6 +22,9 @@ Next, you will have to add that key fingerprint to your Launchpad account. Go to
|
|||
profile and click the yellow Edit button next to "OpenPGP keys". Once you add the key, you can
|
||||
upload signed source packages and publish them onto your PPA.
|
||||
|
||||
IF YOU UPLOAD A PACKAGE and Launchpad does NOT send you a confirmation or rejection email, that
|
||||
means your key is not set up correctly with your Launchpad account.
|
||||
|
||||
Use these steps to prepare building a source package for Launchpad:
|
||||
|
||||
-2. cd [srb2repo]
|
||||
|
|
Loading…
Reference in a new issue