mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-06 19:25:46 -04:00
Makefile: dist target works again
For now, Make is dependent on being run inside of the git repository, at least if something like `make VERSION=3.14` isn't used. Will be nice in the future if it can read from the VERSION file as a fallback.
This commit is contained in:
parent
b7b59b7ea1
commit
4619f5a4de
2 changed files with 39 additions and 44 deletions
11
Makefile
11
Makefile
|
@ -26,6 +26,7 @@
|
|||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
VERSION != git describe
|
||||
WADS=wads
|
||||
CPP=scripts/simplecpp
|
||||
DEUTEX=deutex
|
||||
|
@ -151,15 +152,13 @@ $(WADS)/freedoom_sounds.wad : wadinfo.txt force
|
|||
rm -f $@
|
||||
$(DEUTEX) $(DEUTEX_ARGS) -sounds -musics -build wadinfo.txt $@
|
||||
|
||||
|
||||
|
||||
dist : $(OBJS)
|
||||
scripts/makepkgs $(OBJS)
|
||||
|
||||
doc:
|
||||
doc: BUILD-SYSTEM.asc README.asc
|
||||
asciidoc BUILD-SYSTEM.asc
|
||||
asciidoc README.asc
|
||||
|
||||
dist: $(OBJS) doc
|
||||
VERSION=$(VERSION) scripts/makepkgs $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -f *.html deutex.log $(OBJS) \
|
||||
./wadinfo.txt ./wadinfo_sw.txt \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue