summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 521c6878..d74b188b 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ clean:
install: all
$(MAKE) -C po $@
- install -d $(RPM_BUILD_ROOT)/usr/{X11R6/bin/,share/icons}
+ install -d $(RPM_BUILD_ROOT)/usr/{X11R6/bin/,share/{icons,doc/$(NAME)-$(VERSION)}}
install -d $(RPM_BUILD_ROOT)/usr/sbin
install -s -m755 $(NAME) $(RPM_BUILD_ROOT)/usr/X11R6/bin/
install -m755 clock.pm $(RPM_BUILD_ROOT)/usr/sbin/
@@ -27,6 +27,7 @@ install: all
install -m755 logdrake $(RPM_BUILD_ROOT)/usr/sbin/
# install -m644 pixmaps/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/
install -m644 pixmaps/*.png $(RPM_BUILD_ROOT)/usr/share/icons/
+ install -m644 COPYING $(RPM_BUILD_ROOT)/usr/share/doc/$(NAME)-$(VERSION)/
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
dis: clean
@@ -34,7 +35,7 @@ dis: clean
# cvs commit
mkdir -p $(NAME)-$(VERSION)
find . -not -name "$(NAME)-$(VERSION)"|cpio -pd $(NAME)-$(VERSION)/
- find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused -name control-center.rc -o -name controlcenter.html -o -name TODO -o -name mdkcc.spec -o -name demo |xargs rm -rf
+ find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused -name control-center.rc -o -name controlcenter.html |xargs rm -rf
tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
bzip2 -9f ../$(NAME)-$(VERSION).tar
rm -rf $(NAME)-$(VERSION)