summaryrefslogtreecommitdiff
blob: e39690ece65559874ea4f069eb0d687f772391d4 (plain)
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	Fri Oct 20 05:27:54 2000
+++ Makefile.in	Thu Feb 14 14:34:03 2002
@@ -35,24 +35,9 @@
 	for I in ${subdirs}; do (cd $$I; ${MAKE} install.script || exit 1); done
 
 install.data:
-	@if [ -d /usr/local/share/gnome/wm-properties ] ; then \
-	if [ -w /usr/local/share/gnome/wm-properties ] ; then \
-	echo $(CP) AfterStep.desktop /usr/local/share/gnome/wm-properties/; \
-	$(CP) AfterStep.desktop /usr/local/share/gnome/wm-properties/; \
-	else \
-	echo "/usr/local/share/gnome/wm-properties exists but is not writable."; \
-	echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \
-	fi \
-	fi
-	@if [ -d /usr/share/gnome/wm-properties ] ; then \
-	if [ -w /usr/share/gnome/wm-properties ] ; then \
-	 echo $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \
-	 $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \
-	else \
-	echo "/usr/share/gnome/wm-properties exists but is not writable."; \
-	echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \
-	fi \
-	fi
+	mkdir -p ${DESTDIR}/usr/share/gnome/wm-properties
+	$(CP) AfterStep.desktop ${DESTDIR}/usr/share/gnome/wm-properties/; 
+	
 	@if [ -d $(AFTER_SHAREDIR) ] ; then \
 	  echo $(RMF) -r $(AFTER_SHAREDIR)_old; \
 	  echo $(MV) $(AFTER_SHAREDIR) $(AFTER_SHAREDIR)_old; \