summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxhe <xw897002528@gmail.com>2017-08-30 13:56:28 +0800
committerxhe <xw897002528@gmail.com>2017-08-30 22:18:46 +0800
commit7cf56e34dd453a996b1346589dea5e76292d2622 (patch)
treef0a378a422935ae8252d0101dc89e89915d02c22 /Makefile
parentdcc03f3f63f43deca803f1265d1d497425c2bf76 (diff)
downloadgettext-tiny-7cf56e34dd453a996b1346589dea5e76292d2622.tar.gz
[3/3]: refactoring Makefile.in.inautopoint-makefile
following https://github.com/sabotage-linux/gettext-tiny/issues/12 as said in the previous commit, the gnu makefile does not work. So, here, i delete all actions like updating po files by POT, refresh files...etc. I kicked all stuff out of Makefile, except building .po files and installing .mo files. The original file installation logic is kept, either, for not to damage the eco system of autotools. Issue is completely solved after these three commits.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2bcbcba..7842c0f 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ ALL_LIBS=libintl.a
endif
ALL_TOOLS=msgfmt msgmerge xgettext autopoint
ALL_M4S=$(sort $(wildcard m4/*.m4))
+ALL_DATA=$(sort $(wildcard data/*))
CFLAGS=-O0 -fPIC
@@ -41,7 +42,7 @@ BUILDCFLAGS=$(CFLAGS)
all: $(ALL_LIBS) $(ALL_TOOLS)
-install: $(ALL_LIBS:lib%=$(DESTDIR)$(libdir)/lib%) $(ALL_INCLUDES:%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:%=$(DESTDIR)$(bindir)/%) $(ALL_M4S:%=$(DESTDIR)$(datadir)/%)
+install: $(ALL_LIBS:lib%=$(DESTDIR)$(libdir)/lib%) $(ALL_INCLUDES:%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:%=$(DESTDIR)$(bindir)/%) $(ALL_M4S:%=$(DESTDIR)$(datadir)/%) $(ALL_DATA:%=$(DESTDIR)$(datadir)/%)
clean:
rm -f $(ALL_LIBS)