Don't clean files on Launchpad build

This commit is contained in:
mazmazz 2018-11-26 23:02:02 -05:00
parent f6bde1844e
commit 77bf02f02e
2 changed files with 5 additions and 7 deletions

View file

@ -53,14 +53,11 @@ build:
$(WGET) http://alam.srb2.org/SRB2/2.1.21-Final/Resources/$$file; \ $(WGET) http://alam.srb2.org/SRB2/2.1.21-Final/Resources/$$file; \
fi; \ fi; \
if [ -f $(RESOURCEDIR)/$$file ]; then \ if [ -f $(RESOURCEDIR)/$$file ]; then \
if test "$$file" = "srb2.wad"; then \
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/srb2.srb; \
else \
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/$$file; \ $(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/$$file; \
fi; \
echo $(RESOURCEDIR)/$$file >> $(DIR)/debian/source/include-binaries; \ echo $(RESOURCEDIR)/$$file >> $(DIR)/debian/source/include-binaries; \
else \ fi; \
echo $(DIR)/$$file not found and could not be downloaded!; \ if [ ! -f $(DIR)/debian/tmp/$(DATADIR)/$$file ]; then \
echo $(DIR)/debian/tmp/$(DATADIR)/$$file not found and could not be downloaded!; \
return 1; \ return 1; \
fi; \ fi; \
done done

View file

@ -1 +1,2 @@
tar-ignore = "tmp/*" tar-ignore = "tmp/*"
no-pre-clean