summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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