]> git.pld-linux.org Git - packages/aldo.git/blob - aldo-DESTDIR.patch
- cosmetics
[packages/aldo.git] / aldo-DESTDIR.patch
1 diff -urN aldo.0.0.12/Makefile aldo/Makefile
2 --- aldo.0.0.12/Makefile        Wed Jul 23 00:54:21 2003
3 +++ aldo/Makefile       Mon Aug  4 12:55:36 2003
4 @@ -59,10 +59,7 @@
5  clean_aldo:
6         @$(RM) aldo $(OBJECTS)
7  
8 -install: libs aldo uninstall
9 -       @install -m555 -oroot aldo /usr/bin/
10 +install: libs aldo 
11 +       @install -m555 aldo $(DESTDIR)/usr/bin/
12         @$(MAKE) -C po install
13  
14 -uninstall:
15 -       @$(RM) /usr/bin/aldo
16 -       @$(MAKE) -C po uninstall
17 \ No newline at end of file
18 diff -urN aldo.0.0.12/po/Makefile aldo/po/Makefile
19 --- aldo.0.0.12/po/Makefile     Sun Jun  8 16:32:31 2003
20 +++ aldo/po/Makefile    Mon Aug  4 12:55:43 2003
21 @@ -16,13 +16,8 @@
22  install: $(CATALOGS)
23         @for n in $(CATALOGS); do \
24             l=`basename $$n .mo`; \
25 -           $(INSTALL) -m755 -d $(INSTALLNLSDIR)/$$l; \
26 -           $(INSTALL) -m755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
27 -           $(INSTALL) -m644 $$n $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
28 +           $(INSTALL) -m755 -d $(DESTDIR)$(INSTALLNLSDIR)/$$l; \
29 +           $(INSTALL) -m755 -d $(DESTDIR)$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
30 +           $(INSTALL) -m644 $$n $(DESTDIR)$(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
31         done
32  
33 -uninstall:
34 -       @for n in $(CATALOGS); do \
35 -           l=`basename $$n .mo`; \
36 -           $(RM) $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
37 -       done
38 \ No newline at end of file
This page took 0.041368 seconds and 3 git commands to generate.