Keep the assets/ files; ignore the assets/debian/tmp files in source packaging

This commit is contained in:
mazmazz 2018-11-26 22:39:22 -05:00
parent 6a80cc60b6
commit f6bde1844e
2 changed files with 4 additions and 9 deletions

View File

@ -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 ] && [ ! -f $(RESOURCEDIR)/debian/tmp/$(DATADIR)/$$file ]; then \
if [ ! -f $(RESOURCEDIR)/$$file ]; then \
$(WGET) http://alam.srb2.org/SRB2/2.1.21-Final/Resources/$$file; \
fi; \
if [ -f $(RESOURCEDIR)/$$file ]; then \
@ -58,15 +58,9 @@ build:
else \
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/$$file; \
fi; \
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; \
echo $(RESOURCEDIR)/$$file >> $(DIR)/debian/source/include-binaries; \
else \
echo $(RESOURCEDIR)/debian/tmp/$(DATADIR)/$$file not found and could not be downloaded!; \
echo $(DIR)/$$file not found and could not be downloaded!; \
return 1; \
fi; \
done

View File

@ -0,0 +1 @@
tar-ignore = "tmp/*"