summaryrefslogtreecommitdiff
path: root/editors/nedit/files/patch-source_Makefile.common
blob: f10542e16308fad2eccf5aa961ac245070ab62d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- source/Makefile.common.orig	2004-03-21 22:25:56.000000000 +0800
+++ source/Makefile.common	2014-06-15 11:03:55.335101520 +0800
@@ -28,6 +28,10 @@ nedit: $(OBJS) ../util/libNUtil.a $(XMLL
 nc: nc.o server_common.o ../util/libNUtil.a
 	$(CC) $(CFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@
 
+install: nedit nc
+	${INSTALL} ${COPY} ${STRIP} nedit $(DESTDIR)${PREFIX}/bin
+	${INSTALL} ${COPY} ${STRIP} nc $(DESTDIR)${PREFIX}/bin/nclient
+
 help.o: help.c
 	$(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@