aboutsummaryrefslogtreecommitdiff
path: root/editors/nedit/files/patch-source_Makefile.common
blob: 616611da2dffac42949edc820d748d385b036ef1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- source/Makefile.common.orig	2017-02-04 16:15:41 UTC
+++ source/Makefile.common
@@ -27,6 +27,10 @@ nedit: $(OBJS) ../util/libNUtil.a $(XMLLIB) $(XLTLIB)
 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 $@