broken make install in zita-ajbridge

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

broken make install in zita-ajbridge

Nikita Zlobin
To kokkinizita

When runing make install, resulting structure has /usr/bin as
executable and /usr/share/man/man1 as probably, some archive.

# ls -lR
.:
итого 4
drwxr-xr-x 3 root root 4096 май 17 22:34 usr

./usr:
итого 36
-rwxr-xr-x 1 root root 31480 май 17 22:34 bin
drwxr-xr-x 4 root root  4096 май 17 22:34 share

./usr/share:
итого 8
drwxr-xr-x 3 root root 4096 май 17 22:34 doc
drwxr-xr-x 2 root root 4096 май 17 22:34 man

./usr/share/doc:
итого 4
drwxr-xr-x 2 root root 4096 май 17 22:34 zita-ajbridge-0.7.0

./usr/share/doc/zita-ajbridge-0.7.0:
итого 8
-rw-r--r-- 1 root root   39 май 17 22:34 AUTHORS
-rw-r--r-- 1 root root 2185 май 17 22:34 README.bz2

./usr/share/man:
итого 4
-rw-r--r-- 1 root root 57 май 17 22:34 man1

Looks like, option -D causes to create almost complete path, without
last element (man1 and bin), so those are treated as new file names.

Separate creation of directories fixes problem, e.g. begin install
target with this:
install -m 755 -d $(DESTDIR)$(BINDIR)
install -m 755 -d $(DESTDIR)$(MANDIR)

Then it looks as must:

# ls -lR
.:
итого 4
drwxr-xr-x 4 root root 4096 май 17 22:53 usr

./usr:
итого 8
drwxr-xr-x 2 root root 4096 май 17 22:53 bin
drwxr-xr-x 4 root root 4096 май 17 22:53 share

./usr/bin:
итого 64
-rwxr-xr-x 1 root root 31480 май 17 22:53 zita-a2j
-rwxr-xr-x 1 root root 31480 май 17 22:53 zita-j2a

./usr/share:
итого 8
drwxr-xr-x 3 root root 4096 май 17 22:53 doc
drwxr-xr-x 3 root root 4096 май 17 22:53 man

./usr/share/doc:
итого 4
drwxr-xr-x 2 root root 4096 май 17 22:53 zita-ajbridge-0.7.0

./usr/share/doc/zita-ajbridge-0.7.0:
итого 8
-rw-r--r-- 1 root root   39 май 17 22:53 AUTHORS
-rw-r--r-- 1 root root 2185 май 17 22:53 README.bz2

./usr/share/man:
итого 4
drwxr-xr-x 2 root root 4096 май 17 22:53 man1

./usr/share/man/man1:
итого 12
-rw-r--r-- 1 root root   25 май 17 22:53 zita-a2j.1
-rw-r--r-- 1 root root 2018 май 17 22:53 zita-ajbridge.1.bz2
-rw-r--r-- 1 root root   26 май 17 22:53 zita-j2a.1
_______________________________________________
Linux-audio-dev mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-dev