summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-04-22 03:11:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-04-22 03:11:53 -0500
commit7b782cd4082e4d8aae483b5e4b68b62063ec2615 (patch)
tree19fb46da5676d7d22fdb38de428609d5757da750 /Makefile
parentdbd74ddb26b5a0494ed2f075e886e3450a7ede7b (diff)
downloadshimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.tar.gz
shimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.tar.bz2
shimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.tar.xz
shimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.zip
Add initial hostname(1) implementation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 26b890c..4e355cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,24 @@
.POSIX:
-all: getconf/getconf localedef/localedef
+all: getconf/getconf hostname/hostname localedef/localedef
getconf/getconf:
cd getconf && $(MAKE)
+hostname/hostname:
+ cd hostname && $(MAKE)
+
localedef/localedef:
cd localedef && ${MAKE}
clean:
cd getconf && $(MAKE) clean
+ cd hostname && $(MAKE) clean
+ cd localedef && $(MAKE) clean
install:
mkdir -p $(DESTDIR)/usr/bin
mkdir -p $(DESTDIR)/usr/share/man/man1
cd getconf && $(MAKE) install
+ cd hostname && $(MAKE) install
cd localedef && $(MAKE) install