[NUT-devel] [nut]: r563 - src/trunk/Makefile
diego
subversion at mplayerhq.hu
Sat Feb 2 14:44:52 CET 2008
Author: diego
Date: Sat Feb 2 14:44:51 2008
New Revision: 563
Log:
Add install-nututils target.
Modified:
src/trunk/Makefile
Modified: src/trunk/Makefile
==============================================================================
--- src/trunk/Makefile (original)
+++ src/trunk/Makefile Sat Feb 2 14:44:51 2008
@@ -12,12 +12,18 @@ nututils/nutmerge: nututils/demux_avi.c
$(NUTUTILS_PROGS): CFLAGS += -Ilibnut
-install:
+install: install-libnut install-nututils
+
+install-libnut: libnut
install -d $(prefix)/lib
install -m 644 libnut/libnut.a $(prefix)/lib
install -d $(prefix)/include
install -m 644 libnut/libnut.h $(prefix)/include
+install-nututils: nututils
+ install -d $(prefix)/bin
+ install -m 755 $(NUTUTILS_PROGS) $(prefix)/bin
+
uninstall:
rm -f $(prefix)/lib/libnut.a
rm -f $(prefix)/include/libnut.h
@@ -26,4 +32,4 @@ clean distclean:
rm -f libnut/*\~ libnut/*.o libnut/libnut.so libnut/libnut.a
rm -f nututils/*\~ nututils/*.o $(NUTUTILS_PROGS)
-.PHONY: all libnut nututils install uninstall clean distclean
+.PHONY: all libnut nututils install* uninstall clean distclean
More information about the NUT-devel
mailing list