diff --git a/assets/debian/rules b/assets/debian/rules index d3792dded8df58fa5e4e8d05cc55b724aecf6712..7b8f32169942fcb79b80e360464e9f09d0ce686f 100755 --- a/assets/debian/rules +++ b/assets/debian/rules @@ -53,14 +53,11 @@ build: $(WGET) http://alam.srb2.org/SRB2/2.1.21-Final/Resources/$$file; \ fi; \ 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; \ - fi; \ + $(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/$$file; \ echo $(RESOURCEDIR)/$$file >> $(DIR)/debian/source/include-binaries; \ - else \ - echo $(DIR)/$$file not found and could not be downloaded!; \ + fi; \ + if [ ! -f $(DIR)/debian/tmp/$(DATADIR)/$$file ]; then \ + echo $(DIR)/debian/tmp/$(DATADIR)/$$file not found and could not be downloaded!; \ return 1; \ fi; \ done diff --git a/assets/debian/source/options b/assets/debian/source/options index 8b331485a6486e38af36b64be37954c2aa2579c4..d383111a25211874689ed6ae5a9ca15bf96b8b52 100644 --- a/assets/debian/source/options +++ b/assets/debian/source/options @@ -1 +1,2 @@ tar-ignore = "tmp/*" +no-pre-clean