summaryrefslogtreecommitdiff
path: root/editors/gnotepad+/files/patch-aa
blob: 048e275ef95144d363fc8a1f20c076dcb0dd28c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- Makefile.in.orig	Wed May 10 09:11:34 2000
+++ Makefile.in	Mon Jun  5 20:59:43 2000
@@ -97,8 +97,8 @@
 
 CLEANFILES = *~ .deps/*
 
-Applicationsdir = $(datadir)/gnome/apps/Applications
-Applications_DATA = gnotepad+.desktop gnotepad+.spec
+@HAVE_GNOME_TRUE@Applicationsdir = $(datadir)/apps/Applications
+@HAVE_GNOME_TRUE@Applications_DATA = gnotepad+.desktop gnotepad+.spec
 
 SUBDIRS = docs po intl src
 
@@ -217,7 +217,6 @@
 
 install-ApplicationsDATA: $(Applications_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(Applicationsdir)
 	@list='$(Applications_DATA)'; for p in $$list; do \
 	  if test -f $(srcdir)/$$p; then \
 	    echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(Applicationsdir)/$$p"; \
@@ -431,7 +430,7 @@
 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
 installdirs: installdirs-recursive
 installdirs-am:
-	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(Applicationsdir) \
+	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 \
 		$(DESTDIR)$(pkgdatadir)