Lines 61-83
Link Here
|
61 |
|
61 |
|
62 |
cucipop: $(OBJS) |
62 |
cucipop: $(OBJS) |
63 |
$(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS) |
63 |
$(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS) |
64 |
@@ -67,12 +70,14 @@ |
64 |
@@ -67,13 +70,15 @@ |
65 |
$(MD5_OBJ): md5/md5c.c md5/md5.h |
65 |
$(MD5_OBJ): md5/md5c.c md5/md5.h |
66 |
cd md5; $(CC) $(CFLAGS) -c md5c.c |
66 |
cd md5; $(CC) $(CFLAGS) -c md5c.c |
67 |
|
67 |
|
68 |
-install: $(BINS) $(MANS) |
68 |
-install: $(BINS) $(MANS) |
69 |
- $(INSTALL) $(BINPERM) $(BINS) $(BINDIR) |
69 |
- $(INSTALL) $(BINPERM) $(BINS) $(BINDIR) |
70 |
+install: $(BINL) $(MANS) #$(BINS) |
70 |
- $(INSTALL) $(REGPERM) $(MANS) $(MANDIR) |
71 |
+ $(INSTALL) $(BINLPERM) $(BINL) $(LIBEXECDIR) |
|
|
72 |
+# $(INSTALL) $(BINSPERM) $(BINS) $(BINDIR) |
73 |
$(INSTALL) $(REGPERM) $(MANS) $(MANDIR) |
74 |
- mkdir $(CUCIPOPLIB) 2>/dev/null; exit 0 |
71 |
- mkdir $(CUCIPOPLIB) 2>/dev/null; exit 0 |
75 |
- mkdir $(CUCIPOPBULLETINS) 2>/dev/null; exit 0 |
72 |
- mkdir $(CUCIPOPBULLETINS) 2>/dev/null; exit 0 |
76 |
- @for a in $(BINS); do ls -l $(BINDIR)/$$a; done |
73 |
- @for a in $(BINS); do ls -l $(BINDIR)/$$a; done |
77 |
+ mkdir -p $(CUCIPOPLIB) 2>/dev/null; exit 0 |
74 |
- @for a in $(MANS); do ls -l $(MANDIR)/$$a; done |
78 |
+ mkdir -p $(CUCIPOPBULLETINS) 2>/dev/null; exit 0 |
75 |
+install: $(BINL) $(MANS) #$(BINS) |
79 |
+ @for a in $(BINL); do ls -l $(LIBEXECDIR)/$$a; done |
76 |
+ $(INSTALL) $(BINLPERM) $(BINL) $(DESTDIR)$(LIBEXECDIR) |
80 |
+# @for a in $(BINS); do ls -l $(BINDIR)/$$a; done |
77 |
+# $(INSTALL) $(BINSPERM) $(BINS) $(DESTDIR)$(BINDIR) |
81 |
@for a in $(MANS); do ls -l $(MANDIR)/$$a; done |
78 |
+ $(INSTALL) $(REGPERM) $(MANS) $(DESTDIR)$(MANDIR) |
|
|
79 |
+ mkdir -p $(DESTDIR)$(CUCIPOPLIB) 2>/dev/null; exit 0 |
80 |
+ mkdir -p $(DESTDIR)$(CUCIPOPBULLETINS) 2>/dev/null; exit 0 |
81 |
+ @for a in $(BINL); do ls -l $(DESTDIR)$(LIBEXECDIR)/$$a; done |
82 |
+# @for a in $(BINS); do ls -l $(DESTDIR)$(BINDIR)/$$a; done |
83 |
+ @for a in $(MANS); do ls -l $(DESTDIR)$(MANDIR)/$$a; done |
82 |
|
84 |
|
83 |
deinstall: |
85 |
deinstall: |
|
|
86 |
cd $(BINDIR) && $(RM) $(BINS) |