2015-04-05 11:00:54 +02:00
|
|
|
PACKAGE = 'build_zsh'
|
2019-11-05 01:17:55 +01:00
|
|
|
VERSION = '0.4.1'
|
2015-04-05 11:00:54 +02:00
|
|
|
|
|
|
|
PREFIX := /usr/local
|
|
|
|
BINDIR := $(PREFIX)/bin
|
|
|
|
LIBDIR := $(PREFIX)/lib
|
|
|
|
SHAREDIR := $(PREFIX)/share
|
|
|
|
INCLUDEDIR := $(PREFIX)/include
|
2017-11-04 13:01:13 +01:00
|
|
|
MANDIR := $(SHAREDIR)/man
|
2015-04-05 11:00:54 +02:00
|
|
|
|
|
|
|
CC := cc
|
2015-04-07 10:12:17 +02:00
|
|
|
AR := ar
|
|
|
|
RANLIB := ranlib
|
2015-04-05 11:00:54 +02:00
|
|
|
CFLAGS :=
|
|
|
|
LDFLAGS :=
|
|
|
|
|
|
|
|
Q := @
|
|
|
|
|
2019-11-10 13:23:47 +01:00
|
|
|
all: build.zsh build/binary.zsh build/crystal.zsh build/header.zsh build/library.zsh build/livescript.zsh build/man.zsh build/moon.zsh build/ofile.zsh build/sass.zsh build/scdocman.zsh build/script.zsh build/sharedlib.zsh build/staticlib.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@:
|
2015-04-05 11:00:54 +02:00
|
|
|
|
2019-08-28 16:51:13 +02:00
|
|
|
build.zsh: build.zsh.in
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' SED > build.zsh'
|
2019-08-28 16:51:13 +02:00
|
|
|
$(Q)sed -e 's&@PREFIX@&$(PREFIX)&;s&@BINDIR@&$(BINDIR)&;s&@LIBDIR@&$(LIBDIR)&;s&@SHAREDIR@&$(SHAREDIR)&;s&@INCLUDEDIR@&$(INCLUDEDIR)&;s&@MANDIR@&$(MANDIR)&;' build.zsh.in > 'build.zsh'
|
2015-04-07 10:23:36 +02:00
|
|
|
$(Q)chmod +x 'build.zsh'
|
|
|
|
|
2015-04-05 11:00:54 +02:00
|
|
|
|
|
|
|
build.zsh.install: build.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(BINDIR)/build.zsh'
|
2015-04-06 22:42:56 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(BINDIR)'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)install -m0755 build.zsh $(DESTDIR)$(BINDIR)/build.zsh
|
|
|
|
|
|
|
|
build.zsh.clean:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > build.zsh'
|
2015-04-07 10:23:36 +02:00
|
|
|
$(Q)rm -f build.zsh
|
2015-04-05 11:00:54 +02:00
|
|
|
|
|
|
|
build.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(BINDIR)/build.zsh'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(BINDIR)/build.zsh'
|
|
|
|
|
2015-04-06 23:00:08 +02:00
|
|
|
build/binary.zsh:
|
|
|
|
|
|
|
|
build/binary.zsh.install: build/binary.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/binary.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/binary.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/binary.zsh
|
|
|
|
|
|
|
|
build/binary.zsh.clean:
|
|
|
|
|
|
|
|
build/binary.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/binary.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/binary.zsh'
|
|
|
|
|
2016-05-07 13:52:26 +02:00
|
|
|
build/crystal.zsh:
|
|
|
|
|
|
|
|
build/crystal.zsh.install: build/crystal.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/crystal.zsh'
|
2016-05-07 13:52:26 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/crystal.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/crystal.zsh
|
|
|
|
|
|
|
|
build/crystal.zsh.clean:
|
|
|
|
|
|
|
|
build/crystal.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/crystal.zsh'
|
2016-05-07 13:52:26 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/crystal.zsh'
|
|
|
|
|
2018-11-20 11:02:45 +01:00
|
|
|
build/header.zsh:
|
|
|
|
|
|
|
|
build/header.zsh.install: build/header.zsh
|
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/header.zsh'
|
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/header.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/header.zsh
|
|
|
|
|
|
|
|
build/header.zsh.clean:
|
|
|
|
|
|
|
|
build/header.zsh.uninstall:
|
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/header.zsh'
|
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/header.zsh'
|
|
|
|
|
2015-04-06 23:00:08 +02:00
|
|
|
build/library.zsh:
|
|
|
|
|
|
|
|
build/library.zsh.install: build/library.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/library.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/library.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/library.zsh
|
|
|
|
|
|
|
|
build/library.zsh.clean:
|
|
|
|
|
|
|
|
build/library.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/library.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/library.zsh'
|
|
|
|
|
2019-11-10 13:23:47 +01:00
|
|
|
build/livescript.zsh:
|
|
|
|
|
|
|
|
build/livescript.zsh.install: build/livescript.zsh
|
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/livescript.zsh'
|
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/livescript.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/livescript.zsh
|
|
|
|
|
|
|
|
build/livescript.zsh.clean:
|
|
|
|
|
|
|
|
build/livescript.zsh.uninstall:
|
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/livescript.zsh'
|
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/livescript.zsh'
|
|
|
|
|
2017-11-04 13:01:13 +01:00
|
|
|
build/man.zsh:
|
|
|
|
|
|
|
|
build/man.zsh.install: build/man.zsh
|
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/man.zsh'
|
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/man.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/man.zsh
|
|
|
|
|
|
|
|
build/man.zsh.clean:
|
|
|
|
|
|
|
|
build/man.zsh.uninstall:
|
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/man.zsh'
|
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/man.zsh'
|
|
|
|
|
2016-04-06 10:12:06 +02:00
|
|
|
build/moon.zsh:
|
|
|
|
|
|
|
|
build/moon.zsh.install: build/moon.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/moon.zsh'
|
2016-04-06 10:12:06 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/moon.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/moon.zsh
|
|
|
|
|
|
|
|
build/moon.zsh.clean:
|
|
|
|
|
|
|
|
build/moon.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/moon.zsh'
|
2016-04-06 10:12:06 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/moon.zsh'
|
|
|
|
|
2015-04-06 23:00:08 +02:00
|
|
|
build/ofile.zsh:
|
|
|
|
|
|
|
|
build/ofile.zsh.install: build/ofile.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/ofile.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/ofile.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/ofile.zsh
|
|
|
|
|
|
|
|
build/ofile.zsh.clean:
|
|
|
|
|
|
|
|
build/ofile.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/ofile.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/ofile.zsh'
|
|
|
|
|
2019-11-10 13:23:47 +01:00
|
|
|
build/sass.zsh:
|
|
|
|
|
|
|
|
build/sass.zsh.install: build/sass.zsh
|
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/sass.zsh'
|
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/sass.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/sass.zsh
|
|
|
|
|
|
|
|
build/sass.zsh.clean:
|
|
|
|
|
|
|
|
build/sass.zsh.uninstall:
|
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/sass.zsh'
|
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/sass.zsh'
|
|
|
|
|
2019-08-28 12:45:49 +02:00
|
|
|
build/scdocman.zsh:
|
|
|
|
|
|
|
|
build/scdocman.zsh.install: build/scdocman.zsh
|
2019-08-28 16:55:44 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/scdocman.zsh'
|
2019-08-28 12:45:49 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/scdocman.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/scdocman.zsh
|
|
|
|
|
|
|
|
build/scdocman.zsh.clean:
|
|
|
|
|
|
|
|
build/scdocman.zsh.uninstall:
|
2019-08-28 16:55:44 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/scdocman.zsh'
|
2019-08-28 12:45:49 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/scdocman.zsh'
|
|
|
|
|
2015-04-06 23:00:08 +02:00
|
|
|
build/script.zsh:
|
|
|
|
|
|
|
|
build/script.zsh.install: build/script.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/script.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/script.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/script.zsh
|
|
|
|
|
|
|
|
build/script.zsh.clean:
|
|
|
|
|
|
|
|
build/script.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/script.zsh'
|
2015-04-06 23:00:08 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/script.zsh'
|
|
|
|
|
2015-04-07 10:12:17 +02:00
|
|
|
build/sharedlib.zsh:
|
|
|
|
|
|
|
|
build/sharedlib.zsh.install: build/sharedlib.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/sharedlib.zsh'
|
2015-04-07 10:12:17 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/sharedlib.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/sharedlib.zsh
|
|
|
|
|
|
|
|
build/sharedlib.zsh.clean:
|
|
|
|
|
|
|
|
build/sharedlib.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/sharedlib.zsh'
|
2015-04-07 10:12:17 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/sharedlib.zsh'
|
|
|
|
|
|
|
|
build/staticlib.zsh:
|
|
|
|
|
|
|
|
build/staticlib.zsh.install: build/staticlib.zsh
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' IN > $(SHAREDIR)/build.zsh/staticlib.zsh'
|
2015-04-07 10:12:17 +02:00
|
|
|
$(Q)mkdir -p '$(DESTDIR)$(SHAREDIR)/build.zsh'
|
|
|
|
$(Q)install -m0755 build/staticlib.zsh $(DESTDIR)$(SHAREDIR)/build.zsh/staticlib.zsh
|
|
|
|
|
|
|
|
build/staticlib.zsh.clean:
|
|
|
|
|
|
|
|
build/staticlib.zsh.uninstall:
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' RM > $(SHAREDIR)/build.zsh/staticlib.zsh'
|
2015-04-07 10:12:17 +02:00
|
|
|
$(Q)rm -f '$(DESTDIR)$(SHAREDIR)/build.zsh/staticlib.zsh'
|
|
|
|
|
2019-06-09 19:19:50 +02:00
|
|
|
build:
|
|
|
|
$(Q)mkdir -p build
|
2015-04-05 11:00:54 +02:00
|
|
|
$(DESTDIR)$(PREFIX):
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' DIR > $(PREFIX)'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)mkdir -p $(DESTDIR)$(PREFIX)
|
|
|
|
$(DESTDIR)$(BINDIR):
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' DIR > $(BINDIR)'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)mkdir -p $(DESTDIR)$(BINDIR)
|
|
|
|
$(DESTDIR)$(LIBDIR):
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' DIR > $(LIBDIR)'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
|
$(DESTDIR)$(SHAREDIR):
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' DIR > $(SHAREDIR)'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)mkdir -p $(DESTDIR)$(SHAREDIR)
|
|
|
|
$(DESTDIR)$(INCLUDEDIR):
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' DIR > $(INCLUDEDIR)'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)mkdir -p $(DESTDIR)$(INCLUDEDIR)
|
2017-11-04 13:01:13 +01:00
|
|
|
$(DESTDIR)$(MANDIR):
|
|
|
|
@echo ' DIR > $(MANDIR)'
|
|
|
|
$(Q)mkdir -p $(DESTDIR)$(MANDIR)
|
2019-11-14 14:31:22 +01:00
|
|
|
install: build.zsh.install build/binary.zsh.install build/crystal.zsh.install build/header.zsh.install build/library.zsh.install build/livescript.zsh.install build/man.zsh.install build/moon.zsh.install build/ofile.zsh.install build/sass.zsh.install build/scdocman.zsh.install build/script.zsh.install build/sharedlib.zsh.install build/staticlib.zsh.install
|
2015-04-05 11:00:54 +02:00
|
|
|
@:
|
|
|
|
|
2019-11-14 14:31:22 +01:00
|
|
|
uninstall: build.zsh.uninstall build/binary.zsh.uninstall build/crystal.zsh.uninstall build/header.zsh.uninstall build/library.zsh.uninstall build/livescript.zsh.uninstall build/man.zsh.uninstall build/moon.zsh.uninstall build/ofile.zsh.uninstall build/sass.zsh.uninstall build/scdocman.zsh.uninstall build/script.zsh.uninstall build/sharedlib.zsh.uninstall build/staticlib.zsh.uninstall
|
2015-04-05 11:00:54 +02:00
|
|
|
@:
|
|
|
|
|
2019-11-14 14:31:22 +01:00
|
|
|
test: all
|
2015-04-05 11:00:54 +02:00
|
|
|
@:
|
|
|
|
|
2019-11-10 13:23:47 +01:00
|
|
|
clean: build.zsh.clean build/binary.zsh.clean build/crystal.zsh.clean build/header.zsh.clean build/library.zsh.clean build/livescript.zsh.clean build/man.zsh.clean build/moon.zsh.clean build/ofile.zsh.clean build/sass.zsh.clean build/scdocman.zsh.clean build/script.zsh.clean build/sharedlib.zsh.clean build/staticlib.zsh.clean
|
2015-04-05 11:00:54 +02:00
|
|
|
distclean: clean
|
|
|
|
dist: dist-gz dist-xz dist-bz2
|
|
|
|
$(Q)rm -- $(PACKAGE)-$(VERSION)
|
|
|
|
|
|
|
|
distdir:
|
|
|
|
$(Q)rm -rf -- $(PACKAGE)-$(VERSION)
|
|
|
|
$(Q)ln -s -- . $(PACKAGE)-$(VERSION)
|
|
|
|
|
|
|
|
dist-gz: $(PACKAGE)-$(VERSION).tar.gz
|
|
|
|
$(PACKAGE)-$(VERSION).tar.gz: distdir
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' TAR > $(PACKAGE)-$(VERSION).tar.gz'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)tar czf $(PACKAGE)-$(VERSION).tar.gz \
|
|
|
|
$(PACKAGE)-$(VERSION)/build/binary.zsh \
|
2016-05-07 13:52:26 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/crystal.zsh \
|
2018-11-20 11:02:45 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/header.zsh \
|
2015-04-06 22:42:56 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/library.zsh \
|
2019-11-10 13:23:47 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/livescript.zsh \
|
2017-11-04 13:01:13 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/man.zsh \
|
2016-04-06 10:12:06 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/moon.zsh \
|
2015-04-06 22:42:56 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/ofile.zsh \
|
2019-11-10 13:23:47 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/sass.zsh \
|
2019-08-28 12:45:49 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/scdocman.zsh \
|
2015-04-05 11:00:54 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/script.zsh \
|
2015-04-07 10:12:17 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/sharedlib.zsh \
|
|
|
|
$(PACKAGE)-$(VERSION)/build/staticlib.zsh \
|
2017-08-18 19:29:29 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build.zsh.in \
|
2015-04-05 11:00:54 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/project.zsh \
|
|
|
|
$(PACKAGE)-$(VERSION)/Makefile
|
|
|
|
|
|
|
|
dist-xz: $(PACKAGE)-$(VERSION).tar.xz
|
|
|
|
$(PACKAGE)-$(VERSION).tar.xz: distdir
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' TAR > $(PACKAGE)-$(VERSION).tar.xz'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)tar cJf $(PACKAGE)-$(VERSION).tar.xz \
|
|
|
|
$(PACKAGE)-$(VERSION)/build/binary.zsh \
|
2016-05-07 13:52:26 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/crystal.zsh \
|
2018-11-20 11:02:45 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/header.zsh \
|
2015-04-06 22:42:56 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/library.zsh \
|
2019-11-10 13:23:47 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/livescript.zsh \
|
2017-11-04 13:01:13 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/man.zsh \
|
2016-04-06 10:12:06 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/moon.zsh \
|
2015-04-06 22:42:56 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/ofile.zsh \
|
2019-11-10 13:23:47 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/sass.zsh \
|
2019-08-28 12:45:49 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/scdocman.zsh \
|
2015-04-05 11:00:54 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/script.zsh \
|
2015-04-07 10:12:17 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/sharedlib.zsh \
|
|
|
|
$(PACKAGE)-$(VERSION)/build/staticlib.zsh \
|
2017-08-18 19:29:29 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build.zsh.in \
|
2015-04-05 11:00:54 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/project.zsh \
|
|
|
|
$(PACKAGE)-$(VERSION)/Makefile
|
|
|
|
|
|
|
|
dist-bz2: $(PACKAGE)-$(VERSION).tar.bz2
|
|
|
|
$(PACKAGE)-$(VERSION).tar.bz2: distdir
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo ' TAR > $(PACKAGE)-$(VERSION).tar.bz2'
|
2015-04-05 11:00:54 +02:00
|
|
|
$(Q)tar cjf $(PACKAGE)-$(VERSION).tar.bz2 \
|
|
|
|
$(PACKAGE)-$(VERSION)/build/binary.zsh \
|
2016-05-07 13:52:26 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/crystal.zsh \
|
2018-11-20 11:02:45 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/header.zsh \
|
2015-04-06 22:42:56 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/library.zsh \
|
2019-11-10 13:23:47 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/livescript.zsh \
|
2017-11-04 13:01:13 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/man.zsh \
|
2016-04-06 10:12:06 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/moon.zsh \
|
2015-04-06 22:42:56 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/ofile.zsh \
|
2019-11-10 13:23:47 +01:00
|
|
|
$(PACKAGE)-$(VERSION)/build/sass.zsh \
|
2019-08-28 12:45:49 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/scdocman.zsh \
|
2015-04-05 11:00:54 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/script.zsh \
|
2015-04-07 10:12:17 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build/sharedlib.zsh \
|
|
|
|
$(PACKAGE)-$(VERSION)/build/staticlib.zsh \
|
2017-08-18 19:29:29 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/build.zsh.in \
|
2015-04-05 11:00:54 +02:00
|
|
|
$(PACKAGE)-$(VERSION)/project.zsh \
|
|
|
|
$(PACKAGE)-$(VERSION)/Makefile
|
|
|
|
|
|
|
|
help:
|
2019-11-05 01:17:55 +01:00
|
|
|
@echo ' :: build_zsh-0.4.1'
|
2015-04-05 11:00:54 +02:00
|
|
|
@echo ''
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo 'Generic targets:'
|
|
|
|
@echo ' - help Prints this help message.'
|
|
|
|
@echo ' - all Builds all targets.'
|
|
|
|
@echo ' - dist Creates tarballs of the files of the project.'
|
|
|
|
@echo ' - install Installs the project.'
|
|
|
|
@echo ' - clean Removes compiled files.'
|
|
|
|
@echo ' - uninstall Deinstalls the project.'
|
2015-04-05 11:00:54 +02:00
|
|
|
@echo ''
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo 'CLI-modifiable variables:'
|
|
|
|
@echo ' - CC ${CC}'
|
|
|
|
@echo ' - CFLAGS ${CFLAGS}'
|
|
|
|
@echo ' - LDFLAGS ${LDFLAGS}'
|
|
|
|
@echo ' - DESTDIR ${DESTDIR}'
|
|
|
|
@echo ' - PREFIX ${PREFIX}'
|
|
|
|
@echo ' - BINDIR ${BINDIR}'
|
|
|
|
@echo ' - LIBDIR ${LIBDIR}'
|
|
|
|
@echo ' - SHAREDIR ${SHAREDIR}'
|
|
|
|
@echo ' - INCLUDEDIR ${INCLUDEDIR}'
|
2017-11-04 13:01:13 +01:00
|
|
|
@echo ' - MANDIR ${MANDIR}'
|
2015-04-05 11:00:54 +02:00
|
|
|
@echo ''
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo 'Project targets: '
|
2019-11-10 13:31:35 +01:00
|
|
|
@echo ' - build.zsh script'
|
|
|
|
@echo ' - build/binary.zsh script'
|
|
|
|
@echo ' - build/crystal.zsh script'
|
|
|
|
@echo ' - build/header.zsh script'
|
|
|
|
@echo ' - build/library.zsh script'
|
|
|
|
@echo ' - build/livescript.zsh script'
|
|
|
|
@echo ' - build/man.zsh script'
|
|
|
|
@echo ' - build/moon.zsh script'
|
|
|
|
@echo ' - build/ofile.zsh script'
|
|
|
|
@echo ' - build/sass.zsh script'
|
|
|
|
@echo ' - build/scdocman.zsh script'
|
|
|
|
@echo ' - build/script.zsh script'
|
|
|
|
@echo ' - build/sharedlib.zsh script'
|
|
|
|
@echo ' - build/staticlib.zsh script'
|
2015-04-05 11:00:54 +02:00
|
|
|
@echo ''
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo 'Makefile options:'
|
|
|
|
@echo ' - gnu: false'
|
|
|
|
@echo ' - colors: false'
|
2015-04-05 11:00:54 +02:00
|
|
|
@echo ''
|
2017-08-18 19:29:29 +02:00
|
|
|
@echo 'Rebuild the Makefile with:'
|
|
|
|
@echo ' zsh ./build.zsh'
|
2019-11-14 14:31:22 +01:00
|
|
|
.PHONY: all clean distclean dist install uninstall help
|
2015-04-05 11:00:54 +02:00
|
|
|
|