2008-07-19 19:06:47 +02:00
|
|
|
|
2010-01-27 10:00:29 +01:00
|
|
|
NM_SRCS=$(wildcard non-mixer/*.mu)
|
2008-07-19 19:06:47 +02:00
|
|
|
SRCS=$(wildcard *.mu)
|
2010-01-27 10:00:29 +01:00
|
|
|
ND_SRCS=$(wildcard non-daw/*.mu)
|
|
|
|
|
2008-07-19 19:06:47 +02:00
|
|
|
OBJS=$(SRCS:.mu=.html)
|
2010-01-27 10:00:29 +01:00
|
|
|
NM_OBJS=$(NM_SRCS:.mu=.html)
|
|
|
|
ND_OBJS=$(ND_SRCS:.mu=.html)
|
2008-07-19 19:06:47 +02:00
|
|
|
|
|
|
|
%.html: %.mu
|
|
|
|
@ echo Mupping $<...
|
|
|
|
@ mup.wrapper html $<
|
|
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
upload: all
|
|
|
|
@ ln -sf OVERVIEW.html index.html
|
|
|
|
@ rsync -L mup.css MANUAL.html index.html *.png ssh.tuxfamily.org:/home/non/non-daw.tuxfamily.org-web/htdocs
|
|
|
|
@ rm -f index.html
|
|
|
|
|
|
|
|
install:
|
2010-01-27 10:00:29 +01:00
|
|
|
@ mkdir -p $(DOCUMENT_PATH)/non-daw
|
|
|
|
@ mkdir -p $(DOCUMENT_PATH)/non-mixer
|
|
|
|
@ cp $(ND_OBJS) non-daw/*.png non-daw/mup.css ../COPYING $(DOCUMENT_PATH)/non-daw
|
|
|
|
@ cp $(NM_OBJS) non-mixer/*.png non-mixer/mup.css ../COPYING $(DOCUMENT_PATH)/non-mixer
|
|
|
|
# @ ln -sf $(PIXMAP_PATH)/logo.png $(DOCUMENT_PATH)
|
2008-07-19 19:06:47 +02:00
|
|
|
|
|
|
|
clean:
|
2010-01-27 10:00:29 +01:00
|
|
|
rm -f $(OBJS) $(NM_OBJS) $(ND_OBJS)
|