]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/nls/Makefile.am
Use INSTALL_DATA instead of INSTALL to install maccode files.
[netatalk.git] / etc / afpd / nls / Makefile.am
1 # Makefile.am for etc/afpd/nls/
2
3 bin_PROGRAMS = makecode parsecode
4
5 makecode_SOURCES = makecode.c
6 parsecode_SOURCES = parsecode.c
7
8 CFLAGS = @CFLAGS@ -I$(top_builddir)/include -I$(top_builddir)/sys -I..
9
10 #
11 # install/install-strip:
12 #
13
14 install-data-local: makecode
15         ./makecode; \
16         mkdir -p $(DESTDIR)@CONFIG_DIR@/nls; \
17         $(INSTALL_DATA) maccode.* $(DESTDIR)@CONFIG_DIR@/nls/
18
19 #
20 # cleanup
21 #
22
23 clean distclean clean-recursive distclean-recursive:
24         $(RM) maccode.* *.o core makecode parsecode
25