diff -ur pd-0.35-0/src/makefile.in pd-0.35-0.gentoo/src/makefile.in --- pd-0.35-0/src/makefile.in Fri May 24 19:08:40 2002 +++ pd-0.35-0.gentoo/src/makefile.in Sat Aug 10 22:16:46 2002 @@ -12,6 +12,8 @@ INSTALL_PREFIX = @prefix@ GFLAGS = -DINSTALL_PREFIX=\"$(INSTALL_PREFIX)\" +MANDIR = @mandir@ + # ALSA compilation SOUND_ALSA = @alsa@ @@ -164,6 +166,7 @@ cd ../extra/pique;make @EXTERNTARGET@ INSTDIR = $(DESTDIR)/$(INSTALL_PREFIX) +MANINSTDIR = $(DESTDIR)/$(MANDIR) install: install -d $(INSTDIR)/lib/pd/bin install $(BIN_DIR)/$(GUINAME) $(INSTDIR)/lib/pd/bin/$(GUINAME) @@ -179,12 +182,13 @@ cp -r ../doc $(INSTDIR)/lib/pd/ install -d $(INSTDIR)/include install -m644 m_pd.h $(INSTDIR)/include/m_pd.h - gzip < ../man/pd.1 > $(INSTDIR)/man/man1/pd.1.gz - chmod 644 $(INSTDIR)/man/man1/pd.1.gz - gzip < ../man/pdsend.1 > $(INSTDIR)/man/man1/pdsend.1.gz - chmod 644 $(INSTDIR)/man/man1/pdsend.1.gz - gzip < ../man/pdreceive.1 > $(INSTDIR)/man/man1/pdreceive.1.gz - chmod 644 $(INSTDIR)/man/man1/pdreceive.1.gz + install -d $(MANINSTDIR)/man1 + gzip < ../man/pd.1 > $(MANINSTDIR)/man1/pd.1.gz + chmod 644 $(MANINSTDIR)/man1/pd.1.gz + gzip < ../man/pdsend.1 > $(MANINSTDIR)/man1/pdsend.1.gz + chmod 644 $(MANINSTDIR)/man1/pdsend.1.gz + gzip < ../man/pdreceive.1 > $(MANINSTDIR)/man1/pdreceive.1.gz + chmod 644 $(MANINSTDIR)/man1/pdreceive.1.gz local-clean: -rm -f ../obj/* $(BIN_DIR)/pd $(BIN_DIR)/$(GUINAME) $(BIN_DIR)/pdsend \