Skip to content

Commit

Permalink
CompanyKit: re-work the Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
khorben committed Dec 7, 2024
1 parent ad64afa commit fd95e2e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PACKAGE = CompanyKit
VERSION = 0.0.0
VENDOR = khorben
SUBDIRS = tests
SUBDIRS = sysadmin tests
OBJDIR =
PREFIX = /usr/local
DESTDIR =
Expand Down Expand Up @@ -45,14 +45,16 @@ dist:
$(RM) -r -- $(OBJDIR)$(PACKAGE)-$(VERSION)
$(LN) -s -- "$$PWD" $(OBJDIR)$(PACKAGE)-$(VERSION)
@cd $(OBJDIR). && $(TAR) -czvf $(PACKAGE)-$(VERSION)$(TGZEXT) -- \
$(PACKAGE)-$(VERSION)/sysadmin/Makefile \
$(PACKAGE)-$(VERSION)/sysadmin/sysadmin.sh \
$(PACKAGE)-$(VERSION)/sysadmin/project.conf \
$(PACKAGE)-$(VERSION)/tests/Makefile \
$(PACKAGE)-$(VERSION)/tests/shlint.sh \
$(PACKAGE)-$(VERSION)/tests/sysadmin.sh \
$(PACKAGE)-$(VERSION)/tests/project.conf \
$(PACKAGE)-$(VERSION)/Makefile \
$(PACKAGE)-$(VERSION)/README.md \
$(PACKAGE)-$(VERSION)/config.sh \
$(PACKAGE)-$(VERSION)/sysadmin/sysadmin.sh \
$(PACKAGE)-$(VERSION)/project.conf
$(RM) -- $(OBJDIR)$(PACKAGE)-$(VERSION)

Expand Down
13 changes: 13 additions & 0 deletions sysadmin/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


all:

clean:

distclean: clean

install: all

uninstall:

.PHONY: all clean distclean install uninstall
1 change: 1 addition & 0 deletions sysadmin/project.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist=Makefile,sysadmin.sh

0 comments on commit fd95e2e

Please sign in to comment.