diff options
| author | EuAndreh <eu@euandre.org> | 2025-01-15 16:34:24 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-01-15 16:34:24 -0300 |
| commit | a890c1f1f5d125574c839def4b70e90cdd637124 (patch) | |
| tree | fdb0351b332dc723948e7037b413baac228de9e4 /Makefile | |
| parent | Revamp lib, simplify it a bit and address some FIXMEs (diff) | |
| download | pindaiba-a890c1f1f5d125574c839def4b70e90cdd637124.tar.gz pindaiba-a890c1f1f5d125574c839def4b70e90cdd637124.tar.xz | |
Makefile: Normalize alongside other projects; fix $(integration-tests)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -121,9 +121,12 @@ check-unit: $(tests.bin-check) integration-tests = \ tests/cli-opts.sh \ + tests/integration.sh \ -$(integration-tests): $(NAME).bin ALWAYS - sh $@ $(EXEC)$(NAME).bin +.PRECIOUS: $(integration-tests) +$(integration-tests): $(NAME).bin +$(integration-tests): ALWAYS + sh $@ check-integration: $(integration-tests) @@ -149,12 +152,12 @@ install: all '$(DESTDIR)$(LIBDIR)' \ '$(DESTDIR)$(SRCDIR)' \ '$(DESTDIR)$(INCLUDEDIR)' \ - '$(DESTDIR)$(INCLUDEDIR)'/$(NAME)/ + '$(DESTDIR)$(INCLUDEDIR)'/$(NAME)/ \ cp $(NAME).bin '$(DESTDIR)$(BINDIR)'/$(NAME) cp lib$(NAME).a '$(DESTDIR)$(LIBDIR)' cp src/$(NAME).h '$(DESTDIR)$(INCLUDEDIR)' - cp $(sources.h) '$(DESTDIR)$(INCLUDEDIR)'/$(NAME)/ + cp $(sources.h) '$(DESTDIR)$(INCLUDEDIR)'/$(NAME) cp $(sources) '$(DESTDIR)$(SRCDIR)' for c in $(catalogs.cat); do \ l="`echo "$$c" | cut -d. -f2`"; \ @@ -171,7 +174,7 @@ uninstall: '$(DESTDIR)$(BINDIR)'/$(NAME) \ '$(DESTDIR)$(LIBDIR)'/lib$(NAME).a \ '$(DESTDIR)$(INCLUDEDIR)'/$(NAME).h \ - '$(DESTDIR)$(INCLUDEDIR)'/$(NAME)/ \ + '$(DESTDIR)$(INCLUDEDIR)'/$(NAME) \ '$(DESTDIR)$(SRCDIR)' \ for c in $(catalogs.cat); do \ |
