[PVE-User] Fixed problem with recent Autoconf/Automake

Giuseppe "Gippa" Paterno' gpaterno at gpaterno.com
Tue Sep 21 17:45:34 CEST 2010


Hi!
I was trying to rebuild the pve-manager on my development workstation,
which is btw an ubuntu 10.4. I think that something had changed in
autoconf/automake, so that I got this error:

www/root/Makefile.am:5: `htmldir' is not a legitimate directory for
`SCRIPTS'

I fixed it with the small workaround you'll find at the bottom.
Hope it helps.
Regards,
  Giuseppe


--- Makefile.am.orig	2010-09-21 17:43:44.405204750 +0200
+++ Makefile.am	2010-09-21 17:41:22.235211355 +0200
@@ -2,7 +2,7 @@
 
 SUBDIRS = cluster vmlist openvz qemu system logs server apl iso backup
storage
 
-html_SCRIPTS = 			\
+htmlbin_SCRIPTS = 			\
 	startup.pl		\
 	login.pl
 
@@ -18,6 +18,7 @@
 	dir_conf.epl		
 
 htmldir = ${WWW_ROOTDIR}
+htmlbindir = ${WWW_ROOTDIR}
 
 install-data-hook:
 	chown www-data:www-data ${DESTDIR}/${htmldir}/*






More information about the pve-user mailing list