Aegisub/automation/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

include ../Makefile.inc
2014-04-25 23:12:32 +02:00
PRECOMPILED_HEADER_NAME = ../libaegisub/lagi_pre.h
PROGRAM = aegisub-lua
2014-04-28 04:45:14 +02:00
CXXFLAGS += -I../libaegisub/include -I../src -I.. $(CXXFLAGS_WX)
CPPFLAGS += $(CPPFLAGS_BOOST) $(CFLAGS_LUA)
2014-04-28 04:45:14 +02:00
LIBS := -L../libaegisub -laegisub $(LIBS_LUA) $(LIBS)
LIBS += ../vendor/luabins/libluabins.a
LIBS += $(LIBS_WX) $(LIBS_BOOST) $(LIBS_ICU)
SRC += tests/aegisub.cpp
test: $(PROGRAM)
LUA=./aegisub-lua busted -p 'moon' tests/modules
.PHONY: test
# share/
DATA_AUTOMATION += \
autoload/cleantags-autoload.lua \
autoload/kara-templater.lua \
autoload/karaoke-auto-leadin.lua \
autoload/macro-1-edgeblur.lua \
autoload/macro-2-mkfullwitdh.lua \
2013-05-04 05:00:55 +02:00
autoload/select-overlaps.moon \
autoload/strip-tags.lua \
2013-05-04 05:00:55 +02:00
demos/future-windy-blur.lua \
demos/raytracer.lua \
include/aegisub/clipboard.lua \
include/aegisub/re.moon \
include/aegisub/unicode.moon \
include/aegisub/util.moon \
include/cleantags.lua \
include/clipboard.lua \
include/karaskel-auto4.lua \
include/karaskel.lua \
2013-05-04 05:00:55 +02:00
include/moonscript.lua \
include/re.lua \
include/unicode.lua \
include/utils-auto4.lua \
include/utils.lua
all: ;
install: install-share
@$(BIN_MKDIR) -p $(addprefix $(DESTDIR)$(P_DATA)/automation/, $(dir $(DATA_AUTOMATION)))
@for i in $(DATA_AUTOMATION); do \
$(BIN_ECHO) "$(BIN_INSTALL) -m644 $$i $(DESTDIR)$(P_DATA)/automation/$$i"; \
$(BIN_INSTALL) -m644 $$i $(DESTDIR)$(P_DATA)/automation/$$i; \
done
include ../Makefile.target
-include tests/*.d