Browse Source

Add tarball target to makefile

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0.0
falkTX 4 years ago
parent
commit
71a8e243bc
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 25 additions and 1 deletions
  1. +25
    -1
      Makefile

+ 25
- 1
Makefile View File

@@ -4,6 +4,8 @@
# Created by falkTX # Created by falkTX
# #


VERSION = 1.0.0

all: all:
@echo "error: you must pass '32' or '64' as an argument to this Makefile in order to build WineASIO" @echo "error: you must pass '32' or '64' as an argument to this Makefile in order to build WineASIO"


@@ -17,9 +19,31 @@ all:


# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------


clean::
clean:
rm -f *.o *.so rm -f *.o *.so
rm -rf build32 build64 rm -rf build32 build64
rm -rf gui/__pycache__

# ---------------------------------------------------------------------------------------------------------------------

tarball: clean
rm -f ../wineasio-$(VERSION).tar.gz
tar -c -z \
--exclude=".git*" \
--exclude=".travis*" \
--exclude=debian \
--exclude=prepare_64bit_asio.sh \
--exclude=rtaudio/cmake \
--exclude=rtaudio/contrib \
--exclude=rtaudio/doc \
--exclude=rtaudio/tests \
--exclude=rtaudio/"*.ac" \
--exclude=rtaudio/"*.am" \
--exclude=rtaudio/"*.in" \
--exclude=rtaudio/"*.sh" \
--exclude=rtaudio/"*.txt" \
--transform='s,^\.,wineasio-$(VERSION),' \
-f ../wineasio-$(VERSION).tar.gz .


# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------




Loading…
Cancel
Save