summaryrefslogtreecommitdiff
path: root/localedef/Makefile
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-04-17 10:59:34 -0500
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-04-17 10:59:34 -0500
commit9f86fab6af15168734ce81e4f93c3576dd360352 (patch)
tree5318492501b7b1e9d63d3284eadeec8ee4b974a9 /localedef/Makefile
parent4a2c467b9ddef475eb26a849958fd7c7e0e281d4 (diff)
downloadshimmy-9f86fab6af15168734ce81e4f93c3576dd360352.tar.gz
shimmy-9f86fab6af15168734ce81e4f93c3576dd360352.tar.bz2
shimmy-9f86fab6af15168734ce81e4f93c3576dd360352.tar.xz
shimmy-9f86fab6af15168734ce81e4f93c3576dd360352.zip
Add new localedef(1) stub
Diffstat (limited to 'localedef/Makefile')
-rw-r--r--localedef/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/localedef/Makefile b/localedef/Makefile
new file mode 100644
index 0000000..1cc2083
--- /dev/null
+++ b/localedef/Makefile
@@ -0,0 +1,14 @@
+.POSIX:
+
+CFLAGS=-D _POSIX_C_SOURCE=200809L -D _XOPEN_SOURCE=700
+
+localedef: localedef.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+clean:
+ -rm localedef
+
+install: localedef
+ cp localedef $(DESTDIR)/usr/bin/localedef
+ cp localedef.1 $(DESTDIR)/usr/share/man/man1/localedef.1
+